08-14-2011, 06:11 PM | #1 |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Need help installing an APK I bought..
Hi guys.
So, I was reading the forums and someone pointed out Mantano Reader. It sounds like it has many annotation options for the tablet side. Even more then Ezpdf. So, I went to Amazon Appstore and bought it. The file says Android 2.1 or higher but Amazon says install failed. I've since obtained a copy to try and adb push it. I've done this a few times on my phone but not on the Edge. Is there a certain place you push it to on the edge? It still may not work even then. My final question.. I have both Mac and Windows. Can someone walk me through how to rebuild the APK so it works on the Edge? Keep in mind I've never used Emulator. I have SDK installed on both Mac and Windows but the Windows version was a while ago, from when I rooted my phone a year ago.. Does anyone have this file and does it work for you? I really really need this to work.. especially with being out of money on it lol.. Thanks in advance! Last edited by Synergi; 08-17-2011 at 09:38 PM. |
08-14-2011, 06:17 PM | #2 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
If you have adb try
adb install <yourapk> it will return a reason why install failed and report back to forum. You might check thread "App installation failed" where I explain a few options. |
08-14-2011, 07:17 PM | #3 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
It came back with -- Failure [INSTALL_FAILED_CONTAINER_ERROR] pstenter, I did read your post but I'm stuck at the emulator since I can't figure out how to get it to run. I've tried clicking it and dropping an apk on top of it. Do you start it up in CMD? I'm sorry, my knowledge is very limited.. rooting with step by step instructions and adb install is probably the most I've done. I'm willing to learn though, I really want to install this app.. Last edited by Synergi; 08-14-2011 at 07:41 PM. |
|
08-14-2011, 08:45 PM | #4 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
You have 2 issues.
1.Can you be more specific and give log from the prompt like 50 lines before the actual error message? Check if you have file /mnt/secure/asec/smdl2tmp1.asec and, if yes, remove it. 2. After you install Android SDK there is SDK Manager. That's where you create new devices and that's where you can start them. Last edited by ptsenter; 08-14-2011 at 08:55 PM. |
08-14-2011, 09:25 PM | #5 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
Where am I looking for this at? /mnt/secure/asec/smdl2tmp1.asec on the Edge or my computer? Sorry, I am not quite up on all of this. I will look for it on both and be back with an update. Thank you again for helping me. Ok found /Mnt/secure but its empty.. there is no /asec folder..I need to get to my windows pc to get the log to paste for you.. Ok not 50 lines.. it just says.. c:\android-sdk-windows\tools>adb install Mantango124.apk 3274 KB/s <7601992 bytes in 2.267s> pkg: /data/local/tmp/Mantango124.apk Failure [INSTALL_FAILED_CONTAINER_ERROR] Then takes me back to the prompt.. Thanks! Last edited by Synergi; 08-14-2011 at 10:16 PM. |
|
08-14-2011, 10:16 PM | #6 |
Armed with a smile :)
Posts: 1,421
Karma: 2463560
Join Date: Sep 2009
Location: California, USA
Device: enTourage eDGe & Pocket eDGe, Samsung Galaxy Note II
|
If it really won't work you can contact Amazon customer service and I think they will give you credit. Also, you might try the support page here: http://www.mantano.com/. They might have some suggestions or an older version that would work.
Looks like a really cool reader, I hope you get it going!! |
08-14-2011, 10:36 PM | #7 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
I managed to get the emulator going, amazon appstore install and the reader installed but I'm stuck on where the /data/app thingy is in the emulator to pull the app off.. Still Progress! Going to try to install a file manager, maybe that will let me see those files. Filark, you know that Mantango App was 15 bucks when they released it? Its suppose to be more on the professional level so we'll see if I ever get it install. This thread will make a good how to at any rate.. ok Ptsenter, I'm totally stumped on this part.. extract (adb pull) mobi.wiegandtech.babynameslite.apk from the emulator, it’s under /data/app; I am not sure how you do that.. I'm assuming in the CMD but what would the line of code look like.. I tried typing as you have it above and changing the file name but that didn't work.. Last edited by Synergi; 08-14-2011 at 11:09 PM. |
|
08-15-2011, 12:03 AM | #8 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
command to extract is
adb pull /data/app/Mantango124.apk if it can't find the package do the following commands adb shell cd /data/app ls it will give you list of installed apps type exit and see which package is yours |
08-15-2011, 12:48 AM | #9 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\Synergi>;\ '\' is not recognized as an internal or external command, operable program or batch file. C:\Users\Synergi>cd c:\ c:\>cd android-sdk-windows c:\android-sdk-windows>tools 'tools' is not recognized as an internal or external command, operable program or batch file. c:\android-sdk-windows>cd tools c:\android-sdk-windows\tools>adb pull/data/Mantango124.apk Android Debug Bridge version 1.0.26 -d - directs command to the only connected USB devic e returns an error if more than one USB device is present. -e - directs command to the only running emulator. returns an error if more than one emulator is r unning. -s <serial number> - directs command to the USB device or emulator w ith the given serial number. Overrides ANDROID_SERI AL environment variable. -p <product name or path> - simple product name like 'sooner', or a relative/absolute path to a product out directory like 'out/target/product/sooner'. If -p is not specified, the ANDROID_PRODUCT_OUT environment variable is used, which must be an absolute path. devices - list all connected devices connect <host>[:<port>] - connect to a device via TCP/IP Port 5555 is used by default if no port number is specified. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device. Port 5555 is used by default if no port number is specified. Using this ocmmand with no additional arguments will disconnect from all connected TCP/IP devic es. device commands: adb push <local> <remote> - copy file/dir to device adb pull <remote> [<local>] - copy file/dir from device adb sync [ <directory> ] - copy host->device only if changed (-l means list but don't copy) (see 'adb help all') adb shell - run remote shell interactively adb shell <command> - run remote shell command adb emu <command> - run emulator console command adb logcat [ <filter-spec> ] - View device log adb forward <local> <remote> - forward socket connections forward specs are one of: tcp:<port> localabstract:<unix domain socket name> localreserved:<unix domain socket name> localfilesystem:<unix domain socket name> dev:<character device name> jdwp:<process pid> (remote only) adb jdwp - list PIDs of processes hosting a JDWP transport adb install [-l] [-r] [-s] <file> - push this package file to the device and i nstall it ('-l' means forward-lock the app) ('-r' means reinstall the app, keeping its data ) ('-s' means install on SD card instead of inter nal storage) adb uninstall [-k] <package> - remove this app package from the device ('-k' means keep the data and cache directories ) adb bugreport - return all information from the device that should be included in a bug report. adb help - show this help message adb version - show version num DATAOPTS: (no option) - don't touch the data partition -w - wipe the data partition -d - flash the data partition scripting: adb wait-for-device - block until device is online adb start-server - ensure that there is a server running adb kill-server - kill the server if it is running adb get-state - prints: offline | bootloader | device adb get-serialno - prints: <serial-number> adb status-window - continuously print device status for a specifie d device adb remount - remounts the /system partition on the device re ad-write adb reboot [bootloader|recovery] - reboots the device, optionally into the boo tloader or recovery program adb reboot-bootloader - reboots the device into the bootloader adb root - restarts the adbd daemon with root permissions adb usb - restarts the adbd daemon listening on USB adb tcpip <port> - restarts the adbd daemon listening on TCP on th e specified port networking: adb ppp <tty> [parameters] - Run PPP over USB. Note: you should not automatically start a PPP connection. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1 [parameters] - Eg. defaultroute debug dump local notty usepeerdns adb sync notes: adb sync [ <directory> ] <localdir> can be interpreted in several ways: - If <directory> is not specified, both /system and /data partitions will be u pdated. - If it is "system" or "data", only the corresponding partition is updated. environmental variables: ADB_TRACE - Print debug information. A comma separated list of the following values 1 or all, adb, sockets, packets, rwx, usb, sync , sysdeps, transport, jdwp ANDROID_SERIAL - The serial number to connect to. -s takes prior ity over this if given. ANDROID_LOG_TAGS - When used with the logcat option, only these de bug tags are printed. c:\android-sdk-windows\tools>adb shell # cd /data/app cd /data/app # ls ls com.amazon.venezia-1.apk com.mantano.reader.android-1.apk com.figofuture.droidfilemanager-1.apk # exit exit c:\android-sdk-windows\tools>adb pull/data/app Mantano.reader.android-1.apk Android Debug Bridge version 1.0.26 -d - directs command to the only connected USB devic e returns an error if more than one USB device is present. -e - directs command to the only running emulator. returns an error if more than one emulator is r unning. -s <serial number> - directs command to the USB device or emulator w ith the given serial number. Overrides ANDROID_SERI AL environment variable. -p <product name or path> - simple product name like 'sooner', or a relative/absolute path to a product out directory like 'out/target/product/sooner'. If -p is not specified, the ANDROID_PRODUCT_OUT environment variable is used, which must be an absolute path. devices - list all connected devices connect <host>[:<port>] - connect to a device via TCP/IP Port 5555 is used by default if no port number is specified. disconnect [<host>[:<port>]] - disconnect from a TCP/IP device. Port 5555 is used by default if no port number is specified. Using this ocmmand with no additional arguments will disconnect from all connected TCP/IP devic es. device commands: adb push <local> <remote> - copy file/dir to device adb pull <remote> [<local>] - copy file/dir from device adb sync [ <directory> ] - copy host->device only if changed (-l means list but don't copy) (see 'adb help all') adb shell - run remote shell interactively adb shell <command> - run remote shell command adb emu <command> - run emulator console command adb logcat [ <filter-spec> ] - View device log adb forward <local> <remote> - forward socket connections forward specs are one of: tcp:<port> localabstract:<unix domain socket name> localreserved:<unix domain socket name> localfilesystem:<unix domain socket name> dev:<character device name> jdwp:<process pid> (remote only) adb jdwp - list PIDs of processes hosting a JDWP transport adb install [-l] [-r] [-s] <file> - push this package file to the device and i nstall it ('-l' means forward-lock the app) ('-r' means reinstall the app, keeping its data ) ('-s' means install on SD card instead of inter nal storage) adb uninstall [-k] <package> - remove this app package from the device ('-k' means keep the data and cache directories ) adb bugreport - return all information from the device that should be included in a bug report. adb help - show this help message adb version - show version num DATAOPTS: (no option) - don't touch the data partition -w - wipe the data partition -d - flash the data partition scripting: adb wait-for-device - block until device is online adb start-server - ensure that there is a server running adb kill-server - kill the server if it is running adb get-state - prints: offline | bootloader | device adb get-serialno - prints: <serial-number> adb status-window - continuously print device status for a specifie d device adb remount - remounts the /system partition on the device re ad-write adb reboot [bootloader|recovery] - reboots the device, optionally into the boo tloader or recovery program adb reboot-bootloader - reboots the device into the bootloader adb root - restarts the adbd daemon with root permissions adb usb - restarts the adbd daemon listening on USB adb tcpip <port> - restarts the adbd daemon listening on TCP on th e specified port networking: adb ppp <tty> [parameters] - Run PPP over USB. Note: you should not automatically start a PPP connection. <tty> refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1 [parameters] - Eg. defaultroute debug dump local notty usepeerdns adb sync notes: adb sync [ <directory> ] <localdir> can be interpreted in several ways: - If <directory> is not specified, both /system and /data partitions will be u pdated. - If it is "system" or "data", only the corresponding partition is updated. environmental variables: ADB_TRACE - Print debug information. A comma separated list of the following values 1 or all, adb, sockets, packets, rwx, usb, sync , sysdeps, transport, jdwp ANDROID_SERIAL - The serial number to connect to. -s takes prior ity over this if given. ANDROID_LOG_TAGS - When used with the logcat option, only these de bug tags are printed. c:\android-sdk-windows\tools> Sorry for all the text. Now when I finally get to pull it, where exactly does it go on my machine? Thanks again Ptsenter.. Edit: ok so I tried it this way.. c:\android-sdk-windows/tools>adb pull /data/app/com.mantano.reader.adroid-1.apk and I got 108 KB/s <7601992 byes in 68.151s> Did I do it right? Inquiring minds want to know. Assuming I did do it right, where does it put the file so I can go to the apktool next step? I have the apktool installed but I'm not sure how to start it up. Last edited by Synergi; 08-15-2011 at 01:05 AM. |
|
08-15-2011, 01:04 AM | #10 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
You put spaces in wrong places and you need full name:
adb<spaces> pull <spaces> /data/app/com.mantano.reader.android-1.apk File com.mantano.reader.android-1.apk is going to be in your tools directory. Now you have 2 choices: - connect your device to the computer and type adb devices It should show your device as 0123456789ABCDEF Shut down the emulator and type adb<spaces> install<spaces> com.mantano.reader.android-1.apk - if you won't see your device copy that file to USB or SD card, put the card or stick on your PE, navigate to apk using ES file manager or device storage and click on apk. Turned out we typed at the same time. Congrats, you got the file - that's progress. Before trying apktool I'd try to install as I mentioned above. In command prompt CMD just type apktool<spaces> d<spaces> com.mantano.reader.android-1.apk Last edited by ptsenter; 08-15-2011 at 01:24 AM. |
08-15-2011, 01:22 AM | #11 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
c:\android-sdk-windows\tools>adb pull /data/app/com.mantano.reader.android-1.apk 108 KB/s (7601992 bytes in 68.151s) c:\android-sdk-windows\tools>adb devices List of devices attached emulator-5554 device 0123456789ABCDEF device c:\android-sdk-windows\tools>adb devices List of devices attached 0123456789ABCDEF device c:\android-sdk-windows\tools>adb install com.mantano.reader.android-1.apk 3430 KB/s (7601992 bytes in 2.164s) pkg: /data/local/tmp/com.mantano.reader.android-1.apk Failure [INSTALL_FAILED_CONTAINER_ERROR] c:\android-sdk-windows\tools> Do I need to make some type of changes to the file? Edit: No go on the SD card either..It was working on the emulator so I'm not sure.. Last edited by Synergi; 08-15-2011 at 01:27 AM. |
|
08-15-2011, 01:27 AM | #12 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
Gee, you type faster than I think.
It's possible you need to make a change, but we'll see after apktool run and checking manifest. |
08-15-2011, 01:37 AM | #13 | |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
Quote:
I can't thank you enough for the hand holding. Its clear I have no clue what I'm doing lol.. |
|
08-15-2011, 02:17 AM | #14 |
Addict
Posts: 285
Karma: 88
Join Date: May 2011
Device: Kobo eReader Wireless
|
When you created an emulator what level of APIs you selected?
|
08-15-2011, 02:34 AM | #15 |
Addict
Posts: 341
Karma: 4683770
Join Date: Dec 2010
Device: Kindle PW, iPadPro, Galaxy Note 5, 8 (tab) & Galaxy Tab S3
|
I think it was Android 2.2 level 8..
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Projector.apk | skaboytd | enTourage eDGe | 13 | 07-22-2011 05:16 PM |
Lumiread apk | aceflor | Android Devices | 0 | 07-22-2011 01:45 PM |
.apk Questions | Byzantius | enTourage eDGe | 3 | 07-19-2011 11:58 AM |
Android TV.com link for apk | cheyennedonna | enTourage Archive | 5 | 11-20-2010 12:14 AM |