what is all that lib/arch/darwin_ppc/ stuff?

It looks like you're putting native code compiled for
mac/linux/windows in your apk?

It works on 1.5 because the package manager back then didn't check for
native code.
Starting with 1.6, it only accepts an apk if the native code packaged
in the apk match the device. The emulator emulates a basic ARMv5
device and expects native code to be in lib/armeabi/libfoo.so

Do you happen to have a libs folder in your project that contains this
"arch" folder (and subfolders)?

Xav

On Wed, Nov 4, 2009 at 5:08 PM, cvance383 <[email protected]> wrote:
> correction it works fine on 1.5, but not 1.6 or 2.0 , im thinking this
> is an sdk issue, but i still dont know. any help is greatly
> appreciated.
>
> On Nov 4, 7:51 pm, cvance383 <[email protected]> wrote:
>> it prints out all the drawable files and this
>>
>>  2540  2009-11-03 19:26   AndroidManifest.xml
>>     61100  2009-11-03 18:57   resources.arsc
>>    719304  2009-11-03 19:26   classes.dex
>>       453  2009-11-03 19:26   assembly-descriptor.xml
>>     12580  2009-11-03 19:26   lib/arch/darwin_ppc/MD5.jnilib
>>      9040  2009-11-03 19:26   lib/arch/darwin_x86/MD5.jnilib
>>      7346  2009-11-03 19:26   lib/arch/linux_x86/MD5.so
>>     13312  2009-11-03 19:26   lib/arch/win32_x86/MD5.dll
>>     25714  2009-11-03 19:26   META-INF/MANIFEST.MF
>>     25767  2009-11-03 19:26   META-INF/CERT.SF
>>       980  2009-11-03 19:26   META-INF/CERT.RSA
>> ---------                     -------
>>   1955356                     303 files
>>
>> ... btw this is the first time i have had a problem installing the
>> apk, if i switch back to 1.5 or 1.6, there isnt any issues.
>>
>> On Nov 4, 7:09 pm, David Turner <[email protected]> wrote:
>>
>>
>>
>> > hmm, can you tell us the content of your .apk, i.e. what does running 
>> > "unzip
>> > -l <yourapplication>.apk" prints out ?
>> > (feel free to obfuscate names if needed, but the first four characters of
>> > each line are important).
>>
>> > thanks in advance
>>
>> > On Wed, Nov 4, 2009 at 3:17 PM, cvance383 <[email protected]> wrote:
>> > > downloaded the new 2.0 sdk the other day, and tried testing my app on
>> > > 2.0 via the emulator. I am using eclipse, and when i click run, the
>> > > new emulator runs with my 2.0 avd. but when eclipse tries to install
>> > > it i get this in the console...
>>
>> > > Installation error: INSTALL_FAILED_CPU_ABI_INCOMPATIBLE
>> > > Please check logcat output for more details.
>>
>> > > the log has this
>> > > 11-04 18:16:01.818: ERROR/PackageManager(53): Package com.
>> > > (package).android has mismatched uid: 10025 on disk, 10026 in
>> > > settings; read messages:
>> > > 11-04 18:16:01.818: ERROR/PackageManager(53): Read completed
>> > > successfully: 41 packages, 6 shared uids
>>
>> > > 11-04 18:16:01.906: WARN/PackageManager(53): Install failed: .apk has
>> > > native code but none for arch armeabi
>> > > 11-04 18:16:01.932: WARN/PackageManager(53): Package couldn't be
>> > > installed in /data/app/com.(packagename).android.apk
>>
>> > > I can not figure out why it does this. I have searched aimlessly for
>> > > answer and this is one of my last resorts. Thanks for any help
>>
>> > > --
>> > > You received this message because you are subscribed to the Google
>> > > Groups "Android Developers" group.
>> > > To post to this group, send email to [email protected]
>> > > To unsubscribe from this group, send email to
>> > > [email protected]<android-developers%2Bunsubs
>> > >  [email protected]>
>> > > For more options, visit this group at
>> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to