AS2.3.3 appear the following error:
External Native Build free
The Build command failed.
Error while executing process C:\Android\AS23Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Android\VirtualApp\VirtualApp\lib\src\main\jni\Android.mk NDK_APPLICATION_MK=C:\Android\VirtualApp\VirtualApp\lib\src\main\jni\Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=0 APP_PLATFORM=android-16 NDK_OUT=C:/Android/VirtualApp/VirtualApp/lib/build/intermediates/ndkBuild/release/obj NDK_LIBS_OUT=C:\Android\VirtualApp\VirtualApp\lib\build\intermediates\ndkBuild\release\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
The Build command failed.
Error while executing process C:\Android\AS23Sdk\ndk-bundle\ndk-build.cmd with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=C:\Android\VirtualApp\VirtualApp\lib\src\main\jni\Android.mk NDK_APPLICATION_MK=C:\Android\VirtualApp\VirtualApp\lib\src\main\jni\Application.mk APP_ABI=x86 NDK_ALL_ABIS=x86 NDK_DEBUG=1 APP_PLATFORM=android-16 NDK_OUT=C:/Android/VirtualApp/VirtualApp/lib/build/intermediates/ndkBuild/debug/obj NDK_LIBS_OUT=C:\Android\VirtualApp\VirtualApp\lib\build\intermediates\ndkBuild\debug\lib APP_SHORT_COMMANDS=false LOCAL_SHORT_COMMANDS=false -B -n}
C: \ Android \ AS23Sdk \ the NDK - bundle/build/core/add - application. Mk
Error: (177, 0) * * * Android the NDK: APP_STL stlport_static is no longer supported. Both Please switch to either _static c + + or c + + _shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information.) Stop.
C: \ Android \ AS23Sdk \ the NDK - bundle/build/core/add - application. Mk
Error: (177, 0) * * * Android the NDK: APP_STL stlport_static is no longer supported. Both Please switch to either _static c + + or c + + _shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information.) Stop.
Tried online solution: install CMake and LLDB
Is still the same error!
Screenshots are as follows:
CodePudding user response:
The method of using the following link: https://www.jianshu.com/p/29650d3a5eab for an older version of the NDK,Error message changes, as follows:
C: \ Android \ VirtualApp \ VirtualApp \ lib \ build gradle
Error: A problem occurred starting process 'command' C: \ Android \ Android - the NDK - r16b \ the NDK - build. CMD "'
Error: A problem occurred starting process 'command' C: \ Android \ Android - the NDK - r16b \ the NDK - build. CMD...
CodePudding user response:
To Rebuild after the error information for the change is as follows:Information: Gradle tasks [: app: generateDebugSources, : : app generateDebugAndroidTestSources, : : app mockableAndroidJar, : : app prepareDebugUnitTestDependencies, : : app compileDebugSources, : : app compileDebugAndroidTestSources, : : app compileDebugUnitTestSources, : lib: generateDebugSources, : lib: mockableAndroidJar, : lib: prepareDebugUnitTestDependencies, : lib: generateDebugAndroidTestSources, : lib: compileDebugSources, : lib: compileDebugUnitTestSources, : lib: compileDebugAndroidTestSources]
C: \ Android \ Android - the NDK - r16b/build/core/setup - app. Mk
Error: (81) Android the NDK: Application the targets deprecated (s) : ABI armeabi
Error: (82) Android the NDK: Support for these ABIs will be removed in a future the NDK release.
Error: (81) Android the NDK: Application the targets deprecated (s) : ABI armeabi
Error: (82) Android the NDK: Support for these ABIs will be removed in a future the NDK release.
Information: BUILD SUCCESSFUL
Information: Total time: 13.647 secs
Information: 4 errors
Information: 0 warnings
Information: See complete the output in the console
CodePudding user response:
VirtualApp and VirtualAppEx version I compile, respectively using AS2.3.3 and AS3.2.But VirtualAppEx run on android P (29) error, error message as follows [what is the solution???] :
The 2020-02-04 18:24:42. 173, 9663-9663/IO. Virtualapp. Ex: x W/virtualapp. Ex: : Accessing hidden field Landroid/app/ContextImpl; -> MPackageManager: Landroid/content/PM/PackageManager; (greylist, reflection, charges)
The 2020-02-04 18:24:42. 181, 9663-9663/IO. Virtualapp. Ex: x W/virtualapp. Ex: : Accessing hidden field Landroid/app/ContextImpl; -> MBasePackageName: Ljava/lang/String; (greylist, reflection, charges)
The 2020-02-04 18:24:42. 181, 9663-9663/IO. Virtualapp. Ex: x W/virtualapp. Ex: : Accessing hidden field Landroid/app/ContextImpl; -> MPackageInfo: Landroid/app/LoadedApk; (greylist, reflection, charges)
The 2020-02-04 18:24:42. 243, 9663-9663/IO. Virtualapp. Ex: x W/virtualapp. Ex: : Accessing hidden method Landroid/app/IStopUserCallback; -> UserStopped (I) V (greylist, linking, charges)
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull