Forum Replies Created
-
AuthorPosts
-
RunGamesJayParticipant
As mentioned previously, I was able to follow the tutorial all the way to step 8 without errors as well as installing and running the app so far on the phone. It says “Hello from C++” as is written in native-lib.cpp and referenced from the native call to stringFromJNI() in MainActivity.java. All of this is visible from Android Studio and I can see everything in the project.
So all is in order before importing to VisualGDB as far as the tutorial is concerned. Still unresolved issue.
Please advise.
Thank you.
RunGamesJayParticipantTime for an update, I was able to create and install onto my Android device the Cmake tutorial from Android Studio.
Unfortunately, upon creating the VisualGDB project, I am first prompted with “Could not detect the compiler version from you make file. You may need to specify additional build arguments (e.g. NDK_MODULE_PATH). Ignore and continue?” regardless of using AndroidManifest.xml or gradlew.bat.After ignoring and continuing the creation of the project, I get the following error: “Toolchain test failed: Cannot query the value of TARGET_CXX. Please double-check your settings. If you ignore this error, your project may not build.” I cannot continue from there just as in this post from the past.
I am on the latest Android Studio as well as VisualGDB version 5.5 (Preview 7, build 3769) and Visual Studio 2017.
Is there a location that you know of that I can add the missing value? Please advise.
Thank you.
RunGamesJayParticipantA short follow-up as I forget this:
Error: INSTALL_FAILED_INVALID_APK: Failed to extract native libraries, res=-2
That is the error I get and both the libHelloLibrary.so and gdbserver are present in the apk.
-
AuthorPosts