Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,737,173 Members 40,390 Now Online
XDA Developers Android and Mobile Development Forum

VERY very long shot...

Tip us?
 
Sage
Old
#1  
Senior Member - OP
Thanks Meter 30
Posts: 404
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:
2014 - Nexus 7 2013 - SlimROM
2013 - Nexus 4 - SlimROM
Previous:
2012 - Nexus 7 2012 - SlimROM
2012 - HTC Sensation - Cyanogenmod 11 - Cache Partition used as Swap
2010 - HTC Desire - CarbonROM 4.4.2 - My Alarm Clock
2009 - HTC Touch Diamond - Touch Revolution ROM
2007 - HTC Atom - Lots of Registry tweaks
2006 - HTC Typhoon - Lots of Registry tweaks
2005 - HTC Voyager - Lots of Registry tweaks

Xda Member since 2005.
 
evilkorn
Old
#2  
Senior Member
Thanks Meter 30
Posts: 1,752
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.
 
Sage
Old
#3  
Senior Member - OP
Thanks Meter 30
Posts: 404
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:
2014 - Nexus 7 2013 - SlimROM
2013 - Nexus 4 - SlimROM
Previous:
2012 - Nexus 7 2012 - SlimROM
2012 - HTC Sensation - Cyanogenmod 11 - Cache Partition used as Swap
2010 - HTC Desire - CarbonROM 4.4.2 - My Alarm Clock
2009 - HTC Touch Diamond - Touch Revolution ROM
2007 - HTC Atom - Lots of Registry tweaks
2006 - HTC Typhoon - Lots of Registry tweaks
2005 - HTC Voyager - Lots of Registry tweaks

Xda Member since 2005.
 
Sage
Old
#4  
Senior Member - OP
Thanks Meter 30
Posts: 404
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:
2014 - Nexus 7 2013 - SlimROM
2013 - Nexus 4 - SlimROM
Previous:
2012 - Nexus 7 2012 - SlimROM
2012 - HTC Sensation - Cyanogenmod 11 - Cache Partition used as Swap
2010 - HTC Desire - CarbonROM 4.4.2 - My Alarm Clock
2009 - HTC Touch Diamond - Touch Revolution ROM
2007 - HTC Atom - Lots of Registry tweaks
2006 - HTC Typhoon - Lots of Registry tweaks
2005 - HTC Voyager - Lots of Registry tweaks

Xda Member since 2005.
 
evilkorn
Old
#5  
Senior Member
Thanks Meter 30
Posts: 1,752
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/
 
Sage
Old
#6  
Senior Member - OP
Thanks Meter 30
Posts: 404
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:
2014 - Nexus 7 2013 - SlimROM
2013 - Nexus 4 - SlimROM
Previous:
2012 - Nexus 7 2012 - SlimROM
2012 - HTC Sensation - Cyanogenmod 11 - Cache Partition used as Swap
2010 - HTC Desire - CarbonROM 4.4.2 - My Alarm Clock
2009 - HTC Touch Diamond - Touch Revolution ROM
2007 - HTC Atom - Lots of Registry tweaks
2006 - HTC Typhoon - Lots of Registry tweaks
2005 - HTC Voyager - Lots of Registry tweaks

Xda Member since 2005.
 
Sage
Old
#7  
Senior Member - OP
Thanks Meter 30
Posts: 404
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:
2014 - Nexus 7 2013 - SlimROM
2013 - Nexus 4 - SlimROM
Previous:
2012 - Nexus 7 2012 - SlimROM
2012 - HTC Sensation - Cyanogenmod 11 - Cache Partition used as Swap
2010 - HTC Desire - CarbonROM 4.4.2 - My Alarm Clock
2009 - HTC Touch Diamond - Touch Revolution ROM
2007 - HTC Atom - Lots of Registry tweaks
2006 - HTC Typhoon - Lots of Registry tweaks
2005 - HTC Voyager - Lots of Registry tweaks

Xda Member since 2005.
 
Pneuma1985
Old
(Last edited by Pneuma1985; 11th March 2011 at 01:19 AM.)
#8  
Pneuma1985's Avatar
Recognized Themer
Thanks Meter 979
Posts: 768
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!
HTC One M8: Rooted S-off Sense 6.0 : HTC One M7: Rooted S-off Sense 6.0 port : Htc Evo 4g Lte: Rooted S-off sense 5.5 port



 
no6969el
Old
#9  
Senior Member
Thanks Meter 34
Posts: 589
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 2359
Posts: 1,785
Join Date: May 2010
Location: The Burgh

 
DONATE TO ME
^correct

Sent from Enrique Iglesias.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Change Your Toast Notification Style with XToast

Android uses multipletypes of notifications. One of these isknown as a toast notification. … more

Port Sony Xperia Themes to CyanogenMod 11 with Ease

In addition the obvious proficiency with graphics, creating agood Android theme … more

Cell Phone SIM Unlock Bill Just Steps Away from President’s Desk

For all those who believe that Cinderella stories don’t actually … more