|
本帖最后由 silent_boy 于 2018-3-9 10:07 编辑
错误信息看这里
- 2018-03-09 09:48:52
- /uzmap/temp/i96OYVvVCeZu4oB/AStudioProject/app/src/main/res/values/rc_configuration.xml:13: Error: "rc_media_message_default_save_path" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
- <string name="rc_media_message_default_save_path">/RongCloud/Media/</string>
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /uzmap/temp/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/AStudioProject/app/src/main/res/values/strings.xml:3: Error: "app_name" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
- <string name="app_name">oyuntest</string>
- ~~~~~~~~~~~~~~~
- /uzmap/temp/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/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/i96OYVvVCeZu4oB/AStudioProject/app/src/main/res/values/strings.xml:7: Error: "prompt" is not translated in "en" (English), "sw" (Swahili) [MissingTranslation]
- <string name="prompt">提示</string>
- ~~~~~~~~~~~~~
- Explanation for issues of type "MissingTranslation":
- If an application has more than one locale, then all the strings declared
- in one language should also be translated in all other languages.
- If the string should not be translated, you can add the attribute
- translatable="false" on the <string> element, or you can define all your
- non-translatable strings in a resource file called donottranslate.xml. Or,
- you can ignore the issue with a tools:ignore="MissingTranslation"
- attribute.
- By default this detector allows regions of a language to just provide a
- subset of the strings and fall back to the standard language strings. You
- can require all regions to provide a full translation by setting the
- environment variable ANDROID_LINT_COMPLETE_REGIONS.
- You can tell lint (and other tools) which language is the default language
- in your res/values/ folder by specifying tools:locale="languageCode" for
- the root <resources> element in your resource file. (The tools prefix
- refers to the namespace declaration http://schemas**.**/tools.)
- /uzmap/temp/i96OYVvVCeZu4oB/AStudioProject/app/src/main/AndroidManifest.xml:33: 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.
- 10 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: com/google/gson/annotations/Expose.class
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
复制代码
|
|