当我将React Navigation添加到Project并同步它但是出现了错误
android\app\build\intermediates\res\merged\release\drawable-hdpi\node_modules_reactnavigation_src_views_assets_backicon.png:
error: uncompiled PNG file passed as argument.
Must be compiled first into .flat file.. error: failed parsing overlays.
Run Code Online (Sandbox Code Playgroud)
我搜索并得出结论
您还可能遇到作为参数传递的未编译的PNG文件.必须先编译成.flat文件..错误:解析叠加层失败.现在有一个解决方法.
将android.enableAapt2 = false添加到android/gradle.properties.
但是有一个错误
WARNING: The option 'android.enableAapt2' is deprecated and should not be used anymore.
Use 'android.enableAapt2=true' to remove this warning.
It will be removed at the end of 2018..
Run Code Online (Sandbox Code Playgroud)
我还是错的
文件app/build.gradle
apply plugin: "com.android.application"
import com.android.build.OutputFile
project.ext.react = [
entryFile: "index.js"
]
apply from: "../../node_modules/react-native/react.gradle"
/**
* Set this to true to create two separate …Run Code Online (Sandbox Code Playgroud)下载项目示例
cd xampp \ htdocs> svn co http://svn.doctrine-project.org/trunk教义
然后错误
无法将“ svn”识别为内部或外部命令,可操作程序或批处理文件。