Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
Sage
Old
#1  
Senior Member - OP
Thanks Meter 20
Posts: 344
Join Date: Dec 2005
Location: AU
Default VERY very long shot...

Hi all,

Love my HTC Desire so much i bought a Witstech A81E Android 2.2 Tablet. Which is pretty buggy to say the least though on the whole works well.

The one thing that is driving me crazy is a number of apps dont install with the logcat error:

"packagename.apk requires unavailable shared library com.google.android.maps"

Now from what i have read apparently this device does not come with Google Maps API so my question is how do i add it?

Can it be done? Do i need to modify a ROM to do it? can i push it via adb or apk?

A little help would be greatly appreciated.
__________________________________________________ ______________________________
Current: HTC Sensation (2012) - SlimBean - Cache Partition used as Swap.
Current: Nexus 7 3G (2012) - SlimBean - Bricked.

Previous:
HTC Desire (2010) - Nikez Lente ICS [1.0.1a7] ROM
HTC Touch Diamond (2009) - Touch Revolution ROM
HTC Atom (2007)
HTC Typhoon (2006)
HTC Voyager (2005)

Xda Member since 2005.
__________________________________________________ ______________________________
 
evilkorn
Old
#2  
Senior Member
Thanks Meter 29
Posts: 1,751
Join Date: Jun 2009
Location: Boynton Beach, FL
It would need to have google apps installed to be able to access the libraries. Best bet is to find out if it has been rooted yet and try to install the proprietary applications they can't ship the device with.
[FONT="Arial Black"]NEXUS ONE -
CM7
Case-Mate One Tough Case
 
Sage
Old
#3  
Senior Member - OP
Thanks Meter 20
Posts: 344
Join Date: Dec 2005
Location: AU
appreciate the help mate. i've rooted the device though where can i find google maps api?

the unit already has google maps 5.0 installed but apparently doesnt have the API's.

Any idea what im looking for? will it be an APK or just some files i need to put in a system folder?

i think im over my head
__________________________________________________ ______________________________
Current: HTC Sensation (2012) - SlimBean - Cache Partition used as Swap.
Current: Nexus 7 3G (2012) - SlimBean - Bricked.

Previous:
HTC Desire (2010) - Nikez Lente ICS [1.0.1a7] ROM
HTC Touch Diamond (2009) - Touch Revolution ROM
HTC Atom (2007)
HTC Typhoon (2006)
HTC Voyager (2005)

Xda Member since 2005.
__________________________________________________ ______________________________
 
Sage
Old
#4  
Senior Member - OP
Thanks Meter 20
Posts: 344
Join Date: Dec 2005
Location: AU
additionally i have searched for any com.google.android.maps related data on my desire and have found the following:


/system/framework/com.google.android.maps.jar

/system/etc/permissions/com.google.android.maps.xml

/etc/permissions/com.google.android.maps.xml

/data/dalvik-cache/system@framework@com.google.android.maps.jar@class es.dex

could it be as easy as copying this over to my tablet?

Ill try it out tonight.
__________________________________________________ ______________________________
Current: HTC Sensation (2012) - SlimBean - Cache Partition used as Swap.
Current: Nexus 7 3G (2012) - SlimBean - Bricked.

Previous:
HTC Desire (2010) - Nikez Lente ICS [1.0.1a7] ROM
HTC Touch Diamond (2009) - Touch Revolution ROM
HTC Atom (2007)
HTC Typhoon (2006)
HTC Voyager (2005)

Xda Member since 2005.
__________________________________________________ ______________________________
 
evilkorn
Old
#5  
Senior Member
Thanks Meter 29
Posts: 1,751
Join Date: Jun 2009
Location: Boynton Beach, FL
If the application is installed correctly it should work because the api is stored in the data. Is the application on the tablet installed to the /system/ or /data/ partition. It might be looking for the data in /system/
[FONT="Arial Black"]NEXUS ONE -
CM7
Case-Mate One Tough Case
 
Sage
Old
#6  
Senior Member - OP
Thanks Meter 20
Posts: 344
Join Date: Dec 2005
Location: AU
not sure what you mean about where the application resides? you mean the app i am trying to install? The app i am trying to install is Tasker.

i have been doing some googling and saw someone else have the same problem and he managed to fix it:

Quote:
When trying to install some apps, I would see this error message in logcat:

requires unavailable shared library com.google.android.maps

I had the Google Maps app installed and working, but that didn’t fix the issue. It turns out, I had to add two other files and restart the phone. I found those files in the google zip from Cyanogenmod. It took a little fiddling, but I was able to use these instructions to remount /system in write mode. First step was to take the following two files from the google apps zip (gapps-hdpi-20101114-signed.zip) and put them onto my sd card.

/system/etc/permissions/com.google.android.maps.xml
/system/framework/com.google.android.maps.jar

Then to load them onto the phone, I opened the terminal emulator and ran:

su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cp /mnt/sdcard/com.google.android.maps.xml /system/etc/permissions/
cp /mnt/sdcard/com.google.android.maps.jar /system/framework/

Then after I rebooted the phone, I was able to install apps that depend on Google Maps. I can now check bus and train times, and do all kinds of other cool stuff with maps!


i simply used root explorer to copy it across though still not working. surely someone smarter than me can tell me what i am doing wrong.

is copying with root explorer essentially the same as above?
__________________________________________________ ______________________________
Current: HTC Sensation (2012) - SlimBean - Cache Partition used as Swap.
Current: Nexus 7 3G (2012) - SlimBean - Bricked.

Previous:
HTC Desire (2010) - Nikez Lente ICS [1.0.1a7] ROM
HTC Touch Diamond (2009) - Touch Revolution ROM
HTC Atom (2007)
HTC Typhoon (2006)
HTC Voyager (2005)

Xda Member since 2005.
__________________________________________________ ______________________________
 
Sage
Old
#7  
Senior Member - OP
Thanks Meter 20
Posts: 344
Join Date: Dec 2005
Location: AU
damn i could have sworn someone here would have been switched on enough to help me on this

oh well back to random googling for me.
__________________________________________________ ______________________________
Current: HTC Sensation (2012) - SlimBean - Cache Partition used as Swap.
Current: Nexus 7 3G (2012) - SlimBean - Bricked.

Previous:
HTC Desire (2010) - Nikez Lente ICS [1.0.1a7] ROM
HTC Touch Diamond (2009) - Touch Revolution ROM
HTC Atom (2007)
HTC Typhoon (2006)
HTC Voyager (2005)

Xda Member since 2005.
__________________________________________________ ______________________________
 
Pneuma1985
Old
(Last edited by Pneuma1985; 11th March 2011 at 01:19 AM.)
#8  
Pneuma1985's Avatar
Senior Member
Thanks Meter 363
Posts: 459
Join Date: Jan 2011
Location: Around

 
DONATE TO ME
Well did you try using terminal emulator? And do what he did? B/c that looks like a remount to system to me easy as pie just do what he did you can find the files with root explorer or do it on your pc doesnt really matter. You can Not achieve what he did just using root explorer you need terminal emulator!









 
no6969el
Old
#9  
Senior Member
Thanks Meter 31
Posts: 568
Join Date: Jan 2009
Quote:
Originally Posted by Sage View Post
damn i could have sworn someone here would have been switched on enough to help me on this

oh well back to random googling for me.
I don't know how much it will help (or if its 100 percent true) but I was just told recently that moving a file via root explorer is the same as pushing it via adb.

sent from gv1.5 on g2
 
youdug
Old
#10  
youdug's Avatar
Senior Member
Thanks Meter 968
Posts: 1,243
Join Date: May 2010
Location: Pittsburgh, PA
^correct

Sent from Enrique Iglesias.

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...

XDA PORTAL POSTS

Guide Your Sheep to Safety with Finger Shepherd

Just a coupe of days ago, we brought you news about a game calledAgent Sheep. In that … more

Nandroid Manager Receives Major Update

Do you find yourself obsessively jumping from ROM to ROM? And do you hate having to restore a full … more

Careers in Android: Recruiter Reveals How Resumes are Chosen – XDA Developer TV

XDA Developer TV Producer Jayce released a video a … more

HttpClient Tutorial to Upload and Download with Your App

Developers wanting to interact with the Internet need to choose a package to do the … more