FORUMS
Remove All Ads from XDA

Android Market and AOSP

29 posts
Thanks Meter: 0
 
By tekgek, Junior Member on 30th March 2010, 11:37 PM
Post Reply Email Thread
Hello, all,

I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.

Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.
31st March 2010, 01:29 AM |#2  
RodrigoKim's Avatar
Senior Member
Flag Los Angeles
Thanks Meter: 3
 
Donate to Me
More
someone needs to close this thread before this flame war gets any bigger
31st March 2010, 01:38 AM |#3  
Senior Member
Flag Grande Prairie
Thanks Meter: 171
 
Donate to Me
More
Quote:
Originally Posted by tekgek

Hello, all,

I have recently taken an interest in developing Android 2.1 ROMs. So far, my work on 2.1 has been going well, except I cannot seem to get Android Market to install. I have tried re-signing the apk file, but the result is the same.

Can someone help me out on this? This has probably been answered before, but I cannot find anything truly relevant to this question. Any help is greatly appreciated.

Have you tried just pushing with adb? By development do you mean cooking or compiling your own?
31st March 2010, 01:54 AM |#4  
hilaireg's Avatar
Moderator Emeritus
Thanks Meter: 227
 
More
Exclamation Please be respectful of others ...
I taken the time to cleanup this thread and move to Q&A where it should have been. If someone has an answer post a reply; plans to respond using trolling tactics are ill-advised.

If the thread goes OT again, a moderator will be forced to close it and likely remove it ... would be nice if it didn't have to come to that.

Regards,
31st March 2010, 02:21 AM |#5  
OP Junior Member
Thanks Meter: 0
 
More
I am building this directly from AOSP, from scratch. Thanks to the mod for cleaning up the flame war, by the way
31st March 2010, 02:33 AM |#6  
JAguirre1231's Avatar
Senior Member
Flag I'm Guessing your mom isn't a valid city
Thanks Meter: 37
 
More
Oh, from AOSP. How are you adding them in? AOSP does NOT include the Google Apps by default, I'm not expert in ROM building but I am sure there are some .libs needed (I know GTalk requires some) and possibly need the other Google Apps as well.
31st March 2010, 02:46 AM |#7  
OP Junior Member
Thanks Meter: 0
 
More
And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.

Here is what I knew:

AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.

What the forum helped me figure out:

The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:

Quote:

./adb install alpha-1-signed/system/app/Vending.apk
898 KB/s (1274068 bytes in 1.384s)
pkg: /data/local/tmp/Vending.apk
Failure [INSTALL_FAILED_MISSING_SHARED_LIBRARY]

This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.

EDIT: For all of you who are currently viewing this thread, how many of you would like a very fast (possibly faster than OpenEclair), stable, no-frills Android 2.1 ROM? I would like your opinions, because this will give me a good idea of how many people would be interested in this kind of thing.

Tekgek
31st March 2010, 02:56 AM |#8  
JAguirre1231's Avatar
Senior Member
Flag I'm Guessing your mom isn't a valid city
Thanks Meter: 37
 
More
Quote:
Originally Posted by tekgek

And this is why I love this place . What you said about libraries and what carz12 said about adb helped a lot.

Here is what I knew:

AOSP does not include the Google Apps, including the market. The market is somewhat difficult to install to an aosp build, and I think needs to be resigned with another RSA key.

What the forum helped me figure out:

The advice about trying the adb shell gave me some help. When I tried to push the market app to the phone, I got this:



This tells me that I am missing some libraries. But I'm also missing some other stuff. I'll recompile from source, install the libraries, and report back after I flash this to the phone. Until then, if anyone thinks any of my conclusions are wrong, please tell me so I don't waste my time, or yours.

Tekgek

It's good to know that you are missing libraries

Your best bet is to compile your rom, and then compare it to a rom that already has the google apps included (WesGarner build, CSDI, etc...) and see what libs are missing from yours, add them in and then try again
31st March 2010, 04:00 AM |#9  
Senior Member
Thanks Meter: 46
 
Donate to Me
More
I was having the same problem too. I am gonna try this too.
And ya besides the libraries, the aosp build doesn't include some of the framework files and permission files too, like the framework files relating to gtalk and google maps should be added as well to the system/framework folder and the permission files in system/etc/permissions relating to gtalk and maps should be added as well.
31st March 2010, 05:47 AM |#10  
Senior Member
Thanks Meter: 46
 
Donate to Me
More
I tried with all the missing libraries but with no luck...there must be some other files tooo. Gonna continue on Thursday.
31st March 2010, 05:53 AM |#11  
OP Junior Member
Thanks Meter: 0
 
More
Did you try resigning the apk file?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes