discomarathon / google-gson

Automatically exported from code.google.com/p/google-gson
0 stars 0 forks source link

gson & AdMob 4.0.4 crashes Android app #308

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use gson-1.6.jar in the build path of the Android app
2. Use GoogleAdMobAdsSdk-4.0.4.jar in the build path of the Android app
3. -

What is the expected output? What do you see instead?
Expected: application to work normally
Instead: getting "Conversion to Dalvik format failed with error 1" error which 
completely blocks the application from compiling or running.

What version of the product are you using? On what operating system?
GSON 1.6 & GoogleAdMobAdsSdk-4.0.4.jar (same problem with 4.0.2)

Please provide any additional information below.
Please fix asap. I require gson (it rocks!) but also wanna change to the new 
AdMob SDK.

Original issue reported on code.google.com by derbsl...@gmail.com on 12 Apr 2011 at 7:32

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 12 Apr 2011 at 10:52

GoogleCodeExporter commented 9 years ago
Why has this issue merged into 255? It's not the same problem!
I actually followed the solution in issue 255 but this did not solve my 
problem. At least it fixes the problem I also have with crashing certain phone 
types from HTC.

Following this solution I just get a different error:

[2011-04-13 10:57:01 - cheatdatabase-android] Error generating final archive: 
Found duplicate file for APK: assembly-descriptor.xml
Origin 1: 
C:\Users\de\Development\Android\cheatdatabase-android\lib\GoogleAdMobAdsSdk-4.0.
4.jar
Origin 2: 
C:\Users\de\Development\Android\cheatdatabase-android\lib\myjson-1.6.jar

My problem has nothing to do with any phone types or whatsoever. The problem 
comes in Eclipse and I am not able to compile the app anymore when using GSON 
1.6 & AdMob 4.0.4 in my build path. It also does not work if I follow the steps 
mentioned in Issue 255.

Original comment by derbsl...@gmail.com on 13 Apr 2011 at 9:26

GoogleCodeExporter commented 9 years ago
FYI,
I contacted the AdMob SDK team and they are aware of this issue and are working 
on it. Watch their forums for a new beta release.

Original comment by joel.leitch@gmail.com on 13 Apr 2011 at 5:28

GoogleCodeExporter commented 9 years ago
Thank you very much :]

Original comment by derbsl...@gmail.com on 13 Apr 2011 at 5:38

GoogleCodeExporter commented 9 years ago
removed assembly-descriptor.xml from the jar files in r812

Original comment by inder123 on 13 Apr 2011 at 6:28