nsabiz.blogg.se

Android studio debug vs release
Android studio debug vs release












When debuging Android specific functions (pinch zoom code for example), being able to debug directly in Android Studio was very helpful.Visual Studio 2017 version 15.9 is the final supported servicing baseline for Visual Studio 2017 and has entered the extended support period. Every once in a while, I will build the project in Android Studio, make sure everything works on android as well. In some cases, for example, zooming with pinch zoom vs mouse scroll, I have code for both, and I do a check at startup to determine which to use.Īnyway, this way, I can build and debug very fast in Visual Studio, test my code in a windows executable, and I prefer VS as an IDE over Android Studio. Most code will be independent of Android or Windows, so sharing code is not a problem.

android studio debug vs release

With exception of the Core.h/ Core.cpp, the two projects share all the same C++ files. one with Android Studio that I build with the AppGameKit build script and launch from Android Studio one with Visual Studio that creates a windows app. But my best solution, for now is to create two projects: I've done something similar as you before (with dumping to a log file). in the Application.mk, the default AppGameKit template has APP_OPTIM := Release. (I added all three arm64-v8a, armabi-v7a, x86)Īnother thing I did, which I'm not sure was necessary, but: Under Symbol Directories: click + to add directories. make sure the debug type is not set to Java. So in Android Studio > Run > Edit Configuration.

android studio debug vs release

Android Studio needs those to be able to debug. These contains the library symbols for the different builds by the NDK compiler. In your android project folder, at AGK_libraries\apps\\Test_app\build\jniObjs\local you will have three folders: So actually I made it work now, and you can put breakpoints in Android Studio (I'm using version 3.2 I think).














Android studio debug vs release