curves4d / google-voice-java

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

java.lang.VerifyError issue when importing jar file in eclipse #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In eclipse I use subclipse to download the source from your trunk.
2. I immediately go to Export > Jar File.
3. When I import that jar to my libs folder and run my app it crashes.

What is the expected output? What do you see instead?
I expect the activity to render instead it crashes.  Now if I download the 
google-voice-java-1.14-java6.jar you have featured on your site and import it 
to my libs folder everything works fine.  All the other jar dependencies are 
already in my libs folder.

What version of the product are you using? On what operating system?
I downloaded the latest Android SDK and version of Eclipse Indigo.  I am using 
64bit options when asked.

Please provide any additional information below.
Here is my stacktrace error:
05-09 11:34:35.429: W/dalvikvm(5298): threadid=1: thread exiting with uncaught 
exception (group=0x4001d648)
05-09 11:34:35.449: E/AndroidRuntime(5298): FATAL EXCEPTION: main
05-09 11:34:35.449: E/AndroidRuntime(5298): java.lang.VerifyError: 
com.android.myapp.activites.MainActivity
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
java.lang.Class.newInstanceImpl(Native Method)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
java.lang.Class.newInstance(Class.java:1409)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.Instrumentation.newActivity(Instrumentation.java:1040)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1735)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1851)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.ActivityThread.access$1500(ActivityThread.java:132)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1038)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.os.Handler.dispatchMessage(Handler.java:99)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.os.Looper.loop(Looper.java:150)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
android.app.ActivityThread.main(ActivityThread.java:4293)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
java.lang.reflect.Method.invokeNative(Native Method)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
java.lang.reflect.Method.invoke(Method.java:507)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:849)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)
05-09 11:34:35.449: E/AndroidRuntime(5298):     at 
dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by chadku...@gmail.com on 9 May 2012 at 4:47

GoogleCodeExporter commented 8 years ago
In your stacktrace, I see nothing related to the Google Voice API.  I cannot 
explain why our jar works and your jar compiled from source doesn't.

Original comment by malone.j...@gmail.com on 14 May 2012 at 3:41

GoogleCodeExporter commented 8 years ago
I agree, joseph.

Original comment by teisentr...@gmail.com on 11 Dec 2012 at 11:25