UnityAndroid出包问题记录

AndroidStudio

  • 首先AndroidStudio里面Sync Project With Gradle File失败就是下载不下来,网上乱七八糟改了半天就是不行,最后改个http代理就行了https://www.cnblogs.com/xsj1989/p/16822735.html
  • Gradle sync failed: Unable to start the daemon process.
    https://www.cnblogs.com/timace/p/10545149.html#:~:text=%20Gradle%20sync%20failed%3A%20Unable%20to%20start%20the,For%20example%2C%20an%20unrecognized%20jvm%20option%20is%20used.
  • NDK is missing a "platforms" directory.
    https://blog.csdn.net/u013270444/article/details/120353061
  • Android Studio报:Connection timed out: connect. If you are behind an HTTP proxy错误
    https://blog.csdn.net/Ryanymk/article/details/116542100
  • AndroidStudio汉化补丁,注意版本
    https://plugins.jetbrains.com/plugin/13710-chinese-simplified-language-pack----/versions
  • 构建release-aar
    https://www.jianshu.com/p/e4deefdca399
  • 构建release-apk
    https://blog.csdn.net/qq_41811438/article/details/98376666
  • Plugin with id 'com.android.application' not found
    https://blog.csdn.net/carcoon/article/details/105230362
  • 报错 org.gradle.api.file.ProjectLayout.directoryProperty
    https://blog.csdn.net/weixin_42156458/article/details/117114540
  • 报错 failed to find Build Tools revision 29.0.2
    https://blog.csdn.net/u011519923/article/details/118341137
  • 报错 Cannot resolve external dependency com.android.tools.build:gradle:3.6.0
    https://blog.csdn.net/liranke/article/details/117533785
  • 构建报错 Could not find com.android.tools.build:aapt2:3.2.0
    https://blog.csdn.net/qq_39626462/article/details/99844069

Unity

  • 安卓打包报错:Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
    解决方法
  • unity安卓打包出下面2个错,主要是compileSdkVersion版本太低,解决方法unity playersettings targetSdkVersion直接设置成最高(这个字段控制编译sdkversion),但是sdk又要求targetSdkVersion必须为28,所以直接在mainTemplate和launcherTemplate的targetSdkVersion改成28https://blog.csdn.net/geoffyan/article/details/79761051
  • Unity打包 Execution failed for task ':launcher:checkDebugDuplicateClasses'.
    https://blog.csdn.net/m0_46278918/article/details/107770473
  • Windows工具 - 查看apk信息 - 包名/支持Android版本/支持架构等
    https://blog.csdn.net/menglong0329/article/details/108078093
    https://github.com/Enyby/APK-Info
  • Cannot parse project property android.enableR8=‘’ of type ‘class java.lang.String’ as boolean. Expected ‘true’ or ‘false’.
    https://blog.csdn.net/qq_33547099/article/details/128330338
  • [Unity] Error:annotationType(): unrecognized Attribute name MODULE 很有可能是baseProjectTemplate的Gradle版本不对
    https://blog.csdn.net/weixin_42186644/article/details/123410084

你可能感兴趣的:(Unity插件,SDK,工具,android,unity)