一款轻阅读应用ReadIT,记录我的RN躺坑之旅 (3)

常用指令 ./gradlew clean、./gradlew build

编译错误:The Kotlin Gradle plugin was loaded multiple times in different subprojects, which is not supported and may break the build. 问题解决方案:

参考: https://forums.expo.io/t/kotlin-error-when-build-or-install/38868

./gradlew assembleRelease 编译失败

失败信息: Error: ENOENT: no such file or directory, open 'F:\Project\reactnative\readIt\android\app\build\generated\sourcemaps\react\release\index.android.bundle.map'

问题解决方案:
参考: https://stackoverflow.com/questions/56808518/android-gradlew-assemblerelease-sourcemap-output-fail-because-bundle-doesnt-e

发布版本时,删除build/debug.apk,执行./gradlew clean React Native Android9.0以上打包apk后http请求不到解决方法

参考资料

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/zwyfzy.html