- 博客(7)
- 收藏
- 关注
原创 监听Home键
privatevoid receive(Context context, Intent intent){ String action = intent.getAction(); if(action.equals(Intent.ACTION_CLOSE_SYSTEM_DIALOGS)) { String
2016-12-09 16:12:03
280
转载 修改android源码api报错
******************************You have tried to change the API from what has been previously approved.To make these errors go away, you have two choices: 1) You can add "@hide" javadoc comment
2016-12-07 19:54:27
728
原创 Android Studio查看SHA1,MD5等证书
打开AndroidStudio中自带的Terminal,cd命令进入路径C:\Users\Administrator\.android,运行命令keytool -list -v -keystore debug.keystore输入密钥库口令: android(默认)
2016-11-10 16:30:05
360
原创 Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle
问题:Error:Could not install Gradle distribution from 'https://services.gradle.org/distributions/gradle-2.10-all.zip'.界面出现提示如下图解决:点击Android Studio 中 File -> project structure
2016-11-10 15:37:12
1457
转载 在命令行通过adb shell am broadcast发送广播
adb shell am broadcast 后面的参数有:[-a ][-d ][-t ] [-c [-c ] ...] [-e|--es ...] [--ez ...] [-e|--ei ...] [-n ][-f ] []例如:adb shell am broadcast -a com.Android.t
2016-10-31 09:52:16
1002
原创 java.lang.ClassNotFoundException: Didn't find class "com.example.b.MainActivity
问题:如果在Order And Export选项卡中的jar没有被勾选有可能jar不会被打包到最终生成的apk包中(尤其是v4包)解决方法:选中项目右键--》properties--》找到Java Build Path --》选中选项卡中的Order And Export --》选中可以打勾的jar点Ok,完成
2016-04-20 11:01:29
1055
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人