帖子
帖子
用户
博客
课程
7
帖子
0
勋章
80
Y币
0
帖子
0
勋章
80
Y币
2017-12-03 12:32:36
/uzmap/temp/5g57Kp2I27k4B2M/AStudioProject/app/src/main/AndroidManifest.xml:31: Error: Avoid hardcoding the debug mode; leaving it out allows debug and release builds to automatically assign one [HardcodedDebugMode]
    <application android:allowBackup="false" android:debuggable="false" android:hardwareAccelerated="true" android:icon="@drawable/uz_icon" android:label="@string/app_name" android:largeHeap="true" android:name="com.uzmap.pkg.uzapp.UZApplication" tools:replace="android:icon,android:debuggable,android:allowBackup">
                                             ~~~~~~~~~~~~~~~~~~~~~~~~~~

   Explanation for issues of type "HardcodedDebugMode":
   It's best to leave out the android:debuggable attribute from the manifest.
   If you do, then the tools will automatically insert android:debuggable=true
   when building an APK to debug on an emulator or device. And when you
   perform a release build, such as Exporting APK, it will automatically set
   it to false.

   If on the other hand you specify a specific value in the manifest file,
   then the tools will always use it. This can lead to accidentally publishing
   your app with debug information.

1 errors, 0 warnings

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:packageRelease'.
> com.android**.**mon.signing.KeytoolException: Failed to read key s203438844 from store "/uzmap/temp/5g57Kp2I27k4B2M/uzmap.keystore": Invalid keystore format

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
6
帖子
0
勋章
16
Y币
已经修改了版本号,为什么还会一直出现这个问题?
http://downloadpkg.apicloud.com/ ... b8a21cbc1ebb088.log
51
帖子
0
勋章
160
Y币
编译报错,和alipay什么的起冲突的样子

http://downloadpkg.apicloud.com/ ... 59109130f0e8be5.log
7
帖子
0
勋章
53
Y币
2017-12-26 08:50:40
/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:43: AAPT: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'.
   
/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:46:21-32: AAPT: No resource found that matches the given name: attr 'colorAccent'.
   
/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:44:21-33: AAPT: No resource found that matches the given name: attr 'colorPrimary'.
   
/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:45:21-37: AAPT: No resource found that matches the given name: attr 'colorPrimaryDark'.
   
/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:43: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light.NoActionBar'.

/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:46: error: Error: No resource found that matches the given name: attr 'colorAccent'.

/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:44: error: Error: No resource found that matches the given name: attr 'colorPrimary'.

/uzmap/temp/H9xUnFEUBFgSZtf/AStudioProject/app/build/intermediates/res/merged/release/values/values.xml:45: error: Error: No resource found that matches the given name: attr 'colorPrimaryDark'.



FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseResources'.
> com.android**.**mon.process.ProcessException: Failed to execute aapt

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
1
帖子
0
勋章
9
Y币
模块开发,安卓,打包log


2017-12-29 04:09:34
/uzmap/temp/qJb2lY9sYCJXdYH/AStudioProject/app/src/main/AndroidManifest.xml:68:1-73:20 Error:
        Element activity#com.uzmap.pkg.EntranceActivity at AndroidManifest.xml:68:1-73:20 duplicated with element declared at AndroidManifest.xml:38:9-43:20
/uzmap/temp/qJb2lY9sYCJXdYH/AStudioProject/app/src/main/AndroidManifest.xml Error:
        Validation failed, exiting

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processReleaseManifest'.
> Manifest merger failed with multiple errors, see logs

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
20
帖子
1
勋章
7575
Y币
兰芯 发表于 2017-12-29 16:13
模块开发,安卓,打包log

不要把引擎(app模块)的东西包到你的模块中了,会引起重复定义冲突。
9
帖子
0
勋章
44
Y币
51
帖子
0
勋章
206
Y币
华为 p9 微信 分享失败。旧版编译分享成功
7
帖子
0
勋章
20
Y币
旧版正常打包,升级环境打包说中文出错。

http://downloadpkg.apicloud.com/ ... 25cc4f9dc14b2fe.log
您需要登录后才可以回帖 登录

本版积分规则