我正在尝试使用Android
在Appcelerator Studio
中构建SDK 6.1.0.GA
个应用。
我有CommonJS
个模块,目前我们有两个版本,一个pre SDK 6
一个apiVerion of 2
,另一个post SDK 6
个apiVerion of 3
。
两个版本都在Application/modules
文件夹中。
还有Alloy
个模块。
[INFO] : No aidl files to compile, continuing
[INFO] : Generating i18n files
[DEBUG] : Compiling localization files
[DEBUG] : Merging en strings => /Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/res/values/strings.xml
[INFO] : Generating /Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/res/values/theme.xml
[INFO] : Running AAPT: /Applications/usr/sdk/Android/build-tools/23.0.1/aapt "package" "-f" "-m" "-J" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/gen" "-M" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/AndroidManifest.xml" "-A" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/assets" "-S" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/res" "-I" "/Applications/usr/sdk/Android/platforms/android-23/android.jar" "-F" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/app.ap_" "--output-text-symbols" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/intermediates/bundles" "--no-version-vectors" "--auto-add-overlay" "--extra-packages" "ti.modules.titanium.ui:android.support.v7.appcompat:android.support.v7.cardview"
[DEBUG] : Skipping duplicate jar file: /Users/chris/Library/Application Support/Titanium/modules/android/ti.map/3.0.1/lib/google-play-services-base.jar
[INFO] : Building Java source files: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/javac "-J-Xmx1024M" "-encoding" "utf8" "-bootclasspath" "/Applications/usr/sdk/Android/platforms/android-23/android.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/kroll-v8.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-analytics.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/aps-analytics.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-android.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/jaxen-1.1.1.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/ti-commons-codec-1.3.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/kroll-common.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/titanium.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-multidex.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-filesystem.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-app.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-ui.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/nineoldandroids-appc-2.4.0.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-media.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-appcompat.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-animated-vector-drawable.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-annotations.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v4.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v4-internal_impl.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v7-appcompat.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-vector-drawable.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-cardview.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/cardview-v7-23.4.0.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-locale.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-network.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-xml.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-platform.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-gesture.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-contacts.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-geolocation.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-database.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-utils.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.audit/2.0.0/auditandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.beacons/2.0.0/beaconsandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.beaconstatus/2.0.0/beaconstatusandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.branding/2.0.0/brandingandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.cloud/2.0.0/cloudandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.db/2.0.0/dbandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.home/2.0.0/homeandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.homepage/2.0.0/homepageandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.logger/2.0.0/loggerandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.loyalty/2.0.0/loyaltyandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.mainwindow/2.0.0/mainwindowandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.notifications/2.0.0/notificationsandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.phonehandler/2.0.0/phonehandlerandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.preferences/2.0.0/preferencesandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.referral/2.0.0/referralandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.registrationmanager/2.0.0/registrationmanagerandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.restcalls/2.0.0/restcallsandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.restcore/2.0.0/restcoreandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.router/2.0.0/routerandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.screens/2.0.0/screensandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.settings/2.0.0/settingsandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.usersettings/2.0.0/usersettingsandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.utilities/2.0.0/utilitiesandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.venuemap/2.0.0/venuemapandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.wayfind/2.0.0/wayfindandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.webview/2.0.0/webviewandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.webviewpage/2.0.0/webviewpageandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.android.wayfind/2.0.0/wayfind.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.android.wayfind/2.0.0/lib/indoors-library-surface.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.youorder/2.0.0/youorderandroid.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/bencoding.android.tools/0.50/androidtools.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.liferay.beacons/0.4.3/liferay.beacons.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.liferay.beacons/0.4.3/lib/radius.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.shareourideas.locale/1.0/locale.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.wwl.canvas/2.0.0/canvas.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/dk.napp.drawer/2.0.0/nappslide.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/ti.barcode/3.0.0/barcode.jar:/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/ti.barcode/3.0.0/lib/core.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/cloudpush.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/aps-cloudpush-1.1.4.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-base.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-gcm.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-iid.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.map/3.0.1/map.jar:/Users/chris/Library/Application Support/Titanium/modules/android/ti.map/3.0.1/lib/google-play-services-map.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/kroll-apt.jar:/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/lib/titanium-verify.jar:Manifest.class:R.class:AssetCryptImpl.class:RelActivity.class:RelAppInfo.class:RelApplication.class" "-d" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/classes" "-proc:none" "-target" "1.6" "-source" "1.6" "@/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/java-sources.txt"
[INFO] : Running dexer: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/java "-Xmx1024M" "-XX:-UseGCOverheadLimit" "-Djava.ext.dirs=/Applications/usr/sdk/Android/platform-tools" "-jar" "/Applications/usr/sdk/Android/build-tools/23.0.1/lib/dx.jar" "--dex" "--multi-dex" "--output=/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/dexfiles" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/classes" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/lib/titanium-verify.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.audit/2.0.0/auditandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.beacons/2.0.0/beaconsandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.beaconstatus/2.0.0/beaconstatusandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.branding/2.0.0/brandingandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.cloud/2.0.0/cloudandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.db/2.0.0/dbandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.home/2.0.0/homeandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.homepage/2.0.0/homepageandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.logger/2.0.0/loggerandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.loyalty/2.0.0/loyaltyandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.mainwindow/2.0.0/mainwindowandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.notifications/2.0.0/notificationsandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.phonehandler/2.0.0/phonehandlerandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.preferences/2.0.0/preferencesandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.referral/2.0.0/referralandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.registrationmanager/2.0.0/registrationmanagerandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.restcalls/2.0.0/restcallsandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.restcore/2.0.0/restcoreandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.router/2.0.0/routerandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.screens/2.0.0/screensandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.settings/2.0.0/settingsandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.usersettings/2.0.0/usersettingsandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.utilities/2.0.0/utilitiesandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.venuemap/2.0.0/venuemapandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.wayfind/2.0.0/wayfindandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.webview/2.0.0/webviewandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.webviewpage/2.0.0/webviewpageandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.android.wayfind/2.0.0/wayfind.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.android.wayfind/2.0.0/lib/indoors-library-surface.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/au.com.mobilogica.youorder/2.0.0/youorderandroid.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/bencoding.android.tools/0.50/androidtools.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.liferay.beacons/0.4.3/liferay.beacons.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.liferay.beacons/0.4.3/lib/radius.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.shareourideas.locale/1.0/locale.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/com.wwl.canvas/2.0.0/canvas.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/dk.napp.drawer/2.0.0/nappslide.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/ti.barcode/3.0.0/barcode.jar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/modules/android/ti.barcode/3.0.0/lib/core.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/cloudpush.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/aps-cloudpush-1.1.4.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-base.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-gcm.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.cloudpush/4.0.3/lib/google-play-services-iid.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.map/3.0.1/map.jar" "/Users/chris/Library/Application Support/Titanium/modules/android/ti.map/3.0.1/lib/google-play-services-map.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/kroll-v8.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-analytics.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/aps-analytics.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-android.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/jaxen-1.1.1.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/ti-commons-codec-1.3.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/kroll-common.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/titanium.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-multidex.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-filesystem.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-app.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-ui.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/nineoldandroids-appc-2.4.0.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-media.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-appcompat.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-animated-vector-drawable.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-annotations.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v4.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v4-internal_impl.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-v7-appcompat.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/android-support-vector-drawable.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-cardview.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/cardview-v7-23.4.0.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-locale.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-network.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-xml.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-platform.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-gesture.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-contacts.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-geolocation.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-database.jar" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/modules/titanium-utils.jar"
[INFO] : Creating unsigned apk
[INFO] : Processing /Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/dexfiles
[INFO] : Processing /Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/src
[INFO] : Writing unsigned apk: /Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/app-unsigned.apk
[INFO] : Using MD5withRSA signature algorithm
[INFO] : Signing apk: /Library/Java/JavaVirtualMachines/jdk1.8.0_31.jdk/Contents/Home/bin/jarsigner "-sigalg" "MD5withRSA" "-digestalg" "SHA1" "-keystore" "/Users/chris/Library/Application Support/Titanium/mobilesdk/osx/6.1.0.GA/android/dev_keystore" "-storepass" "*******" "-signedjar" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/REL.apk" "/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/bin/app-unsigned.apk" "tidev"
[ERROR] : Failed to sign apk:
[ERROR] : jarsigner: unable to sign jar: java.util.zip.ZipException: duplicate entry: metadata.json
所以我不确定重复条目的存在位置。
我注意到的一点是这一行:
[INFO] : "-target" "1.6" "-source" "1.6" "@/Users/chris/Ti/APPCGenieWS/GenieProject/Genie.Alloy/build/android/java-sources.txt"
将目标设置为1.6
,虽然我已经设置了我可以找到1.8
的所有位置,所以我不确定这是否可能是问题的一部分或只是红鲱鱼。对不起因空间原因不得不修剪它。
系统:
注意:我刚刚下载了6.1.1.GA,但仍有同样的问题。
答案 0 :(得分:0)
在使用某些6.x sdks编译的常规android模块上存在similar duplicate entry问题,但是我没有为编译的CommonJS模块运行这样的东西。试一试:
modules/android/modulename/version
modulename.jar
进行备份 unzip -l modulename.jar
。查找metadata.json
文件。 zip -d modulename.jar path/to/metadata.json
然后尝试重建您的项目。