apk

Export APK from Eclipse produces error “No Build Tools installed in the SDK”

不想你离开。 提交于 2019-12-23 07:00:17
问题 My ability to export APKs from Eclipse (Juno for Mac) broke today after doing an update. I can get to the Finish button (after specifying keystore and release passwords), and, when I click that I get a popup that reads "No Build Tools installed in the SDK" Here's what I have installed now (the Android stuff had previously been 21.*): Android DDMS 22.0.0.v201305140200--675183 com.android.ide.eclipse.ddms.feature.group The Android Open Source Project Android Development Tools 22.0.0

Installing APK from email attachment

两盒软妹~` 提交于 2019-12-23 06:57:32
问题 Whenever i send a .apk file via email as an attachment and then open the .apk-file in my phone from my email-account, i get a parsing error. However if i put the .apk on my website and provide a URL to it, it works like a charm. A bug? Just me? Am i doing it wrong? Thanks 回答1: That on new Android versions works very well, because, if the attachment is and apk then appear an install button. (on GMail native app) But for older Android versions you will need and app like Email install this one :

Google Maps API V2 blank map after installation on real device

半腔热情 提交于 2019-12-23 06:11:52
问题 When I emulate the app from eclipse using the device everything's OK, but after I generate the apk file and have it installed, my map is blank. I followed these steps: Generate a new keytool keytool -genkey -v -keystore my-keystore-name.keystore -alias myKey1 -keyalg RSA -keysize 2048 -validity 20000 From Eclipse I "Export signed application package" using the keystore file (and key) I got from step 1. Copy the apk to the device and select "package installer" Manifest: <?xml version="1.0"

Reduce APK Size using Patch and Update on Google Play Store

拜拜、爱过 提交于 2019-12-23 03:42:21
问题 I recently read about that Google is using File-by-File Patching and another one algorithm BsDiff - Delta update which patches apk files and gives only update sized apk to download from Play Store. I went through below blogs and links: 1) https://android-developers.googleblog.com/2016/12/saving-data-reducing-the-size-of-app-updates-by-65-percent.html 2) https://github.com/andrewhayden/archive-patcher/blob/master/README.md for "File-by-File Patching" 3) https://android-developers.googleblog

Reduce APK Size using Patch and Update on Google Play Store

∥☆過路亽.° 提交于 2019-12-23 03:42:04
问题 I recently read about that Google is using File-by-File Patching and another one algorithm BsDiff - Delta update which patches apk files and gives only update sized apk to download from Play Store. I went through below blogs and links: 1) https://android-developers.googleblog.com/2016/12/saving-data-reducing-the-size-of-app-updates-by-65-percent.html 2) https://github.com/andrewhayden/archive-patcher/blob/master/README.md for "File-by-File Patching" 3) https://android-developers.googleblog

Android handle cancel event when app install

℡╲_俬逩灬. 提交于 2019-12-23 03:26:13
问题 I install apk file from folder programatically in such way: File file = new File(apkFilePath); if (file.exists()) { try { Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(Uri.parse("file://" + apkFilePath), "application/vnd.android.package-archive"); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); context.startActivity(intent); } catch (Exception e) { Log.d(TAG, "install error: " + e.toString()); } } else { Log.d(TAG, "File doesn't exist "); } When dialog appear there are

How to extract .obb file in android to the assets directory?

拟墨画扇 提交于 2019-12-23 01:04:46
问题 I am using libraries provided by the android sdk for apk expansion file to download the obb file, however I am not sure how to extract these files to the correct directory or if it is even possible? The .obb file downloads correctly, and I can read the entire directory, however once I try and use any of the resources inside the zipped assets folder it doesnt find it. I have followed this guide (which is basically the same everywhere: http://ankitthakkar90.blogspot.co.za/2013/01/apk-expansion

adb 安装与使用(一)

徘徊边缘 提交于 2019-12-23 00:44:52
一、ADB简介 1. 什么是adb?   adb(Android Debug Bridage)是Android sdk的一个工具;   adb 是用来连接安卓手机和PC端的桥梁,要有adb作为二者之间的维系,才能让用户在电脑上对手机进行全面的操作。   Android 的初衷是用adb这样的一个工具来协助开发人员在开发和拷贝Android 应用的过程中更好的调试apk ,因此adb具有安装和卸载apk,拷贝推送文件,查看设备硬件信息,查看应用程序占用资源,在设备执行shell命令等功能! 2.adb的组成   客户端client:运行在你的电脑上,你可以通过adb命令来调起一个客户端。其他的安卓工具例如:ADT插件、DDMS都可以创建出一个客户端   服务器server:运行在你电脑上的后台,负责管理client和daemon进行通信。   守护进程 daemon:运行在模拟器或者Android 设备的后台 二、adb的安装 1.下载解压:adt-bundle-windows-x86_64-20140702(自行百度下载) 2. 配置环境变量到path   D:\appium\adt-bundle-windows-x86_64-20140702\sdk\platform-tools;   D:\appium\adt-bundle-windows-x86_64-20140702

醒醒,Android开发居然只有cv最顺手,你还会什么?

五迷三道 提交于 2019-12-23 00:08:32
作为一个Android开发,现在的你已经开发多少年了? 你的代码质量有没有随着经验的增加而提高?没有的话就需要反思了。 现在来分享一个有六年经验Android开发,都学到了什么? 一,学习能力 想要成长,学习能力尤为重要 我们一直有句老话,学如逆水行舟,不进则退。就像我们Android进阶,需要学习的高级内容比较多 1)Java语言进阶与Android相关技术内核 像 泛型,多线程,反射,JVM,Java IO,注解,序列化等 2)App开发框架知识体系(app亦对象) Android 2013~2016年的技术,大家网上Copy代码习惯了 对这块经常“使用”的代码熟悉而又陌生:熟悉的是几乎天天在和它们打交道,天天在复制这些代码;陌生的是虽然天天和这些代码打交道,从未深入研究过这些代码的原理,代码深处的内涵。 我们需要从新的角度去分析这些知识点,深入研究他们,要学习源码,模仿源码,然后再hook源码, 这样才能说自己懂这块的知识。这些都是做Android开发,做高级工程师的基础。 3)360° Android app全方位性能调优 书写高性能代码,再调优 4)Android前沿技术 比如热升级,热修复,App Instant,强制更新,组件化路由架构Arouter,RxJava,IOC架构方法,Hook技术等 这些技术你不能只会用,你需要知道他的原理 5)NDK 模块开发 NDK

Terminal can't run apktool [closed]

落爺英雄遲暮 提交于 2019-12-22 19:26:31
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I am using macOSX, and trying to extract all the files in a APK file, I've extracted it with zip and unzip. Used dex2jar to extract classes.dex to jar file and decompiled it. Now when I am in my last step, using APKtool to decode the apk file, however, it shows "-bash: apktool: command not found " eventhough I