0
0

Here is a list of issues when compiling the android export for a client

The APK Files Compiles alright but this is the warning output of the rebuild project.

I am using IntelliJ IDEA 14.1.3 Ultimate to Build the APK Files

Information:Using javac 1.7.0_80 to compile java sources Information:Android Resource Caching: Caching resources [google-play-services_lib] Information:Android Resource Caching: [google-play-services_lib] Crunching PNG Files in source dir: E:\TESTEXPORTING\android\libs\google-play-services_lib\res Information:Android Resource Caching: [google-play-services_lib] To destination dir: C:\Users\Gerald\.IntelliJIdea14\system\compile-server\android_99c4d111\android\res_cache\google-play-services_lib Information:android-apt-compiler: [android] (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*') Information:Android Resource Caching: Caching resources [android] Information:Android Resource Caching: [android] Crunching PNG Files in source dir: E:\TESTEXPORTING\android\res Information:Android Resource Caching: [android] To destination dir: C:\Users\Gerald\.IntelliJIdea14\system\compile-server\android_99c4d111\android\res_cache\android Information:Android Resource Packaging: [android] (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*') Information:Android Dex: [android] Merged dex A (121 defs/ Information:Android Dex: [android] 135.5KiB) with dex B (505 defs/547.1KiB). Result is 626 defs/832.1KiB. Took 0.4s Information:Android Dex: [android] Merged dex A (626 defs/832.1KiB) with dex B (1 defs/0.4KiB). Result is 627 defs/1075.0KiB. Took 0.1s Information:Android Dex: [android] Merged dex A (627 defs/1075.0KiB) with dex B (73 defs/100.8KiB). Result is 700 defs/1629.0KiB. Took 0.1s Information:Android Dex: [android] Result compacted from 2441.8KiB to 766.5KiB to save 1675.3KiB Information:Android Dex: [android] Merged dex A (700 defs/1629.0KiB) with dex B (6 defs/1.6KiB). Result is 706 defs/766.5KiB. Took 0.1s Information:Android Dex: [android] Merged dex A (706 defs/766.5KiB) with dex B (106 defs/101.5KiB). Result is 812 defs/ Information:Android Dex: [android] 1056.6KiB. Took 0.1s Information:Android Dex: [android] Merged dex A (812 defs/1056.6KiB) with dex B (44 defs/53.8KiB). Result is 856 defs/1423.5KiB. Took 0.1s Information:Android Dex: [android] Result compacted from 4173.8KiB to 2729.8KiB to save 1444.0KiB Information:Android Dex: [android] Merged dex A (856 defs/1423.5KiB) with dex B (1869 defs/1854.6KiB). Result is 2725 defs/2729.8KiB. Took 0.3s Information:6/15/2015 5:04 PM - Compilation completed successfully with 13 warnings in 44s 612ms Warning:Android Resource Caching: [android] E:\TESTEXPORTING\android\res\drawable\spacer.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited E:\TESTEXPORTING\android\src\org\cocos2dx\lib\Cocos2dxActivity.java Warning:(123, 62) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated Warning:(124, 62) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated Warning:(130, 62) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated E:\TESTEXPORTING\android\src\org\cocos2dx\lib\Cocos2dxGLSurfaceView.java Warning:(202, 101) java: ACTION_POINTER_ID_SHIFT in android.view.MotionEvent has been deprecated Warning:(239, 97) java: ACTION_POINTER_ID_SHIFT in android.view.MotionEvent has been deprecated Warning:(398, 72) java: ACTION_POINTER_ID_SHIFT in android.view.MotionEvent has been deprecated E:\TESTEXPORTING\android\src\org\cocos2dx\lib\Cocos2dxSound.java Warning:(88, 31) java: SoundPool(int,int,int) in android.media.SoundPool has been deprecated Warning:(91, 31) java: SoundPool(int,int,int) in android.media.SoundPool has been deprecated E:\TESTEXPORTING\android\src\org\cocos2dx\lib\Cocos2dxAccelerometer.java Warning:(65, 51) java: getOrientation() in android.view.Display has been deprecated E:\TESTEXPORTING\android\src\org\cocos2dx\lib\Cocos2dxEditBoxDialog.java Warning:(159, 116) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated Warning:(159, 152) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated Warning:(168, 118) java: FILL_PARENT in android.view.ViewGroup.LayoutParams has been deprecated

Here is the output Pro-guard Disabled

Information:android-apt-compiler: [android] (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*') Information:Android Dex: [android] Merged dex A (121 defs/135.5KiB) with dex B (505 defs/547.1KiB). Result is 626 defs/832.1KiB. Took 0.4s Information:Android Dex: [android] Merged dex A (626 defs/832.1KiB) with dex B (1 defs/0.4KiB). Result is 627 defs/1075.0KiB. Took 0.2s Information:Android Dex: [android] Merged dex A (627 defs/1075.0KiB) with dex B (73 defs/100.8KiB). Result is 700 defs/1629.0KiB. Took 0.1s Information:Android Dex: [android] Result compacted from 2441.8KiB to 766.5KiB to save 1675.3KiB Information:Android Dex: [android] Merged dex A (700 defs/1629.0KiB) with dex B (6 defs/1.6KiB). Result is 706 defs/766.5KiB. Took 0.1s Information:Android Dex: [android] Merged dex A (706 defs/766.5KiB) with dex B (106 defs/101.5KiB). Result is 812 defs/1056.6KiB. Took 0.1s Information:Android Dex: [android] Merged dex A (812 defs/1056.6KiB) with dex B (44 defs/53.8KiB). Result is 856 defs/1423.5KiB. Took 0.1s Information:Android Dex: [android] Result compacted from 4173.8KiB to 2729.8KiB to save 1444.0KiB Information:Android Dex: [android] Merged dex A (856 defs/1423.5KiB) with dex B (1869 defs/1854.6KiB). Result is 2725 defs/2729.8KiB. Took 0.3s Information:6/15/2015 5:08 PM - Compilation completed successfully in 9s 854ms

Here is the output with Pro-guard Enabled

Information:Using javac 1.7.0_80 to compile java sources Information:android-apt-compiler: [android] (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*') Information:Android Resource Packaging: [android] (skipping file '.dummy' due to ANDROID_AAPT_IGNORE pattern '.*') Information:ProGuard: [android] ProGuard, version 4.7 Information:ProGuard: [android] Reading input... Information:ProGuard: [android] Reading program jar [C:\Users\Gerald\.IntelliJIdea14\system\compile-server\_temp_\proguard_input0.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\PTAdFacebook.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\javax.inject-1.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\nineoldandroids-2.4.0.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\google-play-services_lib\libs\google-play-services.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\dagger-1.2.2.jar] Information:ProGuard: [android] Reading program jar [E:\TESTEXPORTING\android\libs\support-v4-19.0.1.jar] Information:ProGuard: [android] Reading library jar [E:\Android\SDK\platforms\android-21\android.jar] Information:ProGuard: [android] Initializing... Information:ProGuard: [android] Note: android.support.v4.text.ICUCompatIcs: can't find dynamically referenced class libcore.icu.ICU Information:ProGuard: [android] Note: com.google.android.gms.maps.internal.q: can't find dynamically referenced class com.google.android.gms.maps.internal.CreatorImplGmm6 Information:ProGuard: [android] Note: com.google.android.gms.maps.internal.q: can't find dynamically referenced class com.google.android.gms.maps.internal.CreatorImpl Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.google.vending.licensing.ILicensingService' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.android.vending.licensing.ILicensingService' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'Object' Information:ProGuard: [android] Maybe you meant the fully qualified name 'java.lang.Object'? Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.applovin.adview.AppLovinConfirmationActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.applovin.adview.AppLovinInterstitialActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.google.android.gms.ads.adMobView' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.mopub.common.MoPubBrowser' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.mopub.mobileads.MoPubActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.mopub.mobileads.MraidActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.mopub.mobileads.MraidBrowser' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.mopub.mobileads.MraidVideoPlayerActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.playhaven.android.push.PushReceiver' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.playhaven.android.view.FullScreen' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.revmob.ads.fullscreen.FullscreenActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.vungle.publisher.FullScreenAdActivity' Information:ProGuard: [android] Note: the configuration refers to the unknown class 'com.vungle.publisher.VungleService' Information:ProGuard: [android] Note: there were 16 references to unknown classes. Information:ProGuard: [android] You should check your configuration for typos. Information:ProGuard: [android] Note: there were 3 unresolved dynamic references to classes or interfaces. Information:ProGuard: [android] Ignoring unused library classes... Information:ProGuard: [android] Original number of library classes: 3673 Information:ProGuard: [android] Final number of library classes: 1053 Information:ProGuard: [android] Printing kept classes, fields, and methods... Information:ProGuard: [android] Shrinking... Information:ProGuard: [android] Printing usage to [E:\TESTEXPORTING\android\proguard_logs\usage.txt]... Information:ProGuard: [android] Removing unused program classes and class elements... Information:ProGuard: [android] Original number of program classes: 2725 Information:ProGuard: [android] Final number of program classes: 705 Information:ProGuard: [android] Obfuscating... Information:ProGuard: [android] Printing mapping to [E:\TESTEXPORTING\android\proguard_logs\mapping.txt]... Information:ProGuard: [android] Writing output... Information:ProGuard: [android] Preparing output jar [C:\Users\Gerald\.IntelliJIdea14\system\compile-server\android_99c4d111\android\intermediate_artifacts\android\obfuscated_sources.jar] Information:ProGuard: [android] Copying resources from program jar [C:\Users\Gerald\.IntelliJIdea14\system\compile-server\_temp_\proguard_input0.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\PTAdFacebook.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\javax.inject-1.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\nineoldandroids-2.4.0.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\google-play-services_lib\libs\google-play-services.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\dagger-1.2.2.jar] Information:ProGuard: [android] Copying resources from program jar [E:\TESTEXPORTING\android\libs\support-v4-19.0.1.jar] Information:ProGuard: [android] Printing classes to [E:\TESTEXPORTING\android\proguard_logs\dump.txt]... Information:6/15/2015 5:16 PM - Compilation completed successfully with 4 warnings in 16s 624ms Warning:ProGuard: [android] You should check if you need to specify additional program jars. Warning:ProGuard: [android] Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [google-play-services.jar:META-INF/MANIFEST.MF]) Warning:ProGuard: [android] Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [dagger-1.2.2.jar:META-INF/MANIFEST.MF]) Warning:ProGuard: [android] Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [support-v4-19.0.1.jar:META-INF/MANIFEST.MF])

  • You must to post comments
0
0

Unfortunately compiling in Android is not supported in the 15 day trial version. If purchased the recommended guide is at Buildbox.com/guides and if the warnings aren't causing any issues then there is not a serious problem. We recommend Eclipse still as Android Studio is still not technically supported though it will be soon, and there shouldn't be a problem with it currently.

  • raziel23x
    these are just warning as Like i said in the original post I was compiling this for a client who owns your software. As i just charge $10 USD for compiling each exports for the android and amazon versions and $5 USD per WIN32 and WINRT exports and $15 USD for the ISO and OSX exports. These warning appear just stating that FILL_PARENT has been replaced is all and the android exporter just needs to be updated to the new fields. The APK files compile just fine just that it would be nice if things are using current updated Fields. As for Proguard, the ProGuard Files are broken and do not support any of the SDK files and I have to manually update the included ProGuard.txt file for them to function as they was intended.
  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.