AndroidStudio升级报错,Aapt2Exception,NDK_PROJECT_PATH=null

更新AndroidStudio3.2.1之后 异常:

1:Android NDK: APP_STL gnustl_static is no longer supported. Please switch to either c++_static or c++_shared. See https://developer.android.com/ndk/guides/cpp-support.html for more information.    .  Stop.
Open File
Error while executing process /Document/Android/sdk/ndk-bundle/ndk-build with arguments {NDK_PROJECT_PATH=null APP_BUILD_SCRIPT=xxxxxx/src/main/jni/Android.mk }


2: .gradle/caches/transforms-1/files-1.1/aapt2-3.2.1-4818971-osx.jar/4b08def479402136e743f7353242689f/aapt2-3.2.1-4818971-osx/aapt2 compile --legacy \
        -o \
       android/app/build/intermediates/incremental/mergeAgentDebugResources/merged.dir/values/values.xml
Daemon:  AAPT2 aapt2-3.2.1-4818971-osx Daemon #0


1.解决:mk文件
修改为:APP_STL :=  c++_static

 

 

2.修改ids.xml



    false

    false
    false
    false
    false
    



修改为:



   

   
   
   
   
   

你可能感兴趣的:(Android,工具)