帖子
帖子
用户
博客
课程
1
帖子
0
勋章
9
Y币
本帖最后由 兰芯 于 2018-5-2 17:52 编辑
技术支持-F 发表于 2018-5-2 16:11
编译界面高级设置里面可以选择Android版本

现在编译成功了,打开app后界面异常,状态栏沉浸失败,且tab页面显示空白而且自定义loader安装后,连接本地调试地址的按钮也消失了
5
帖子
0
勋章
38
Y币
UIRongCloud要求Android 4.0.3, 可4.4.2编译也报错 ,
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/rc_lib_string.xml:4: Error: "rc_quit_custom_service" is not translated in "sw" (Swahili) [MissingTranslation]
    <string name="rc_quit_custom_service">客服已结束</string>
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/rc_lib_string.xml:5: Error: "rc_init_failed" is not translated in "sw" (Swahili) [MissingTranslation]
    <string name="rc_init_failed">连接客服失败</string>
            ~~~~~~~~~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/rc_lib_string.xml:6: Error: "rc_location_sharing_ended" is not translated in "sw" (Swahili) [MissingTranslation]
    <string name="rc_location_sharing_ended">位置共享已结束</string>
            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/strings.xml:3: Error: "app_name" is not translated in "sw" (Swahili) [MissingTranslation]
    <string name="app_name">知产链</string>
            ~~~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/strings.xml:4: Error: "back" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
<string name="back">返回</string>
         ~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/strings.xml:5: Error: "confirm" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
    <string name="confirm">确定</string>
            ~~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/strings.xml:6: Error: "cancel" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
    <string name="cancel">取消</string>
            ~~~~~~~~~~~~~
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/src/main/res/values/strings.xml:7: Error: "prompt" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
    <string name="prompt">提示</string>
换到Android 5.0.1则ok. 是升级后编译要求的androi版本变了吗?
380
帖子
4
勋章
6
Y币
David Ding 发表于 2018-5-9 14:34
UIRongCloud要求Android 4.0.3, 可4.4.2编译也报错 ,
/uzmap/temp/WHHxKp11udRSAbK/AStudioProject/app/sr ...

你单独编译这个模块看看。我这可以的。可能和其他模块有冲突
5
帖子
0
勋章
38
Y币
单独编译OK, 可能是和RongCloud2模块冲突,可用5.0.1又不冲突了呢
380
帖子
4
勋章
6
Y币
David Ding 发表于 2018-5-9 17:09
单独编译OK, 可能是和RongCloud2模块冲突,可用5.0.1又不冲突了呢

不能同时加两个融云模块
2
帖子
0
勋章
6
Y币
http://downloadpkg.apicloud.com/ ... c52aff2b209304a.log
加了几个模块后安卓编译失败。
求助...
380
帖子
4
勋章
6
Y币
前端-阿音 发表于 2018-5-15 11:44
http://downloadpkg.apicloud.com/zip/79/b2/79b29fe7a2a4e0df8c52aff2b209304a.log
加了几个模块后安卓编 ...

都加了哪些模块?有自定义模块吗?
2
帖子
0
勋章
6
Y币
2018-05-15 02:26:06
/uzmap/temp/DWXY1kmfU1C70H0/AStudioProject/app/src/main/AndroidManifest.xml:34: 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:transformClassesWithJarMergingForRelease'.
> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: android/support/annotation/IntegerRes.class

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.


怎么解 在线等
2
帖子
0
勋章
6
Y币
技术支持-F 发表于 2018-5-15 11:47
都加了哪些模块?有自定义模块吗?

WX20180515-142711.png WX20180515-142724.png
6
帖子
0
勋章
54
Y币
您需要登录后才可以回帖 登录

本版积分规则