"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 02:35:22 GMT

Sponsored Links
 Hello everyone,

I'm trying to get the GLSurfaceViewActivity - example to work.


And as soon as I ad the GLSurfaceViewActivity.java to my project I
this error on running the app in the emulator:

Failed to upload HelloAndroid.apk on 'emulator-5554': invalid data

after removing the class, HelloAndroid.apk installs just fine.

Does someone know what I do wrong?

Thx in advance.


"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 11:44:40 GMT

 This happens with all examples I tried...
For this example I also localized the class, which causes the
As soon as I comment back in the GLThread class to the project I get
this error.


Sponsored Links

"invalid data message"-error

by think4ward » Mon, 24 Nov 2008 11:45:23 GMT

 LogCat doesnt show any error..
this is the DDMS output:

[2008-11-24 12:43:00 - ddms]transfer error: invalid data message

Other Threads

1. abd error: cannot parse adb version

Recently purchased a WIN7 laptop.  Came loaded with the home premium
edition.  I also have another laptop that has has WIN XP on it.
ECLIPSE is installed on each one.  The WIN XP works just fine with
ECLIPSE.  The WIN7 (upgraded to the PROFESSIONAL version) is the one
that is giving me all the problems.  Whenever ECLIPSE is started, the
first message displayed is: "FAILED TO PARSE ADB VERSION", then says
to start adb and restart eclipse.  Done that, SAME ERROR.  Tried to
run the emulator from the command line, SAME ERROR.  Tried to
reinstall eclipse several times, SAME ERROR.
I find it hard to believe that I would be the only one who develops in
WIN7.  Would there happen to be anyone who is developing in WIN7 and
have come across this error, and how it was resolved??
All the directories and PATHS are correct, ECLIPSE and ANDROID has
also been installed multiple times.  Can't find the problem.  Since
there are no problems with the XP laptop, I copied adb.exe from the XP
to the WIN7, thinking adb on the WIN7 is corrupt.  Needless to say,
that didn't work.  Which is saying, "HEY...you are overlooking
something."  No clues to what is being overlooked.
Again....is there ANYONE WHO IS DEVELOPING WITH WIN7 and who has
encountered this error???
ANYTHING.  I don't mind if you email me directly with the solution,
the sooner the better.


2. How to stop a service, when all activities are finished?

Having a service running gains you absolutely nothing as long as one of your
activities is in the foreground.

What do you mean "interrupt on low space?"  What low space?  Interrupt in
what way?

> > > 

3. How to set a default item in a spinner drop down list

4. animation fillAfter question

5. How can I enable assert statement on Android?

6. density setting for aspect ration long screens

7. N900 running droid?