
Andriod
Dev_Meng
快乐的生活,快乐的coding,愿一切安好!
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Android 生命周期
启动之后依次调用09-13 10:37:59.861 5255-5255/com.example.ghm.mydemo V/这是onCreat方法: onCreat09-13 10:37:59.864 5255-5255/com.example.ghm.mydemo V/这是Onstart方法: onStart09-13 10:37:59.864 5255-5255/com.examp原创 2017-09-13 11:17:07 · 264 阅读 · 0 评论 -
instant run requires tools xxxx
解决问题的办法:菜单栏,Tools -> Adnroid -> enable ADB integration原创 2017-09-26 12:43:35 · 336 阅读 · 0 评论 -
Warning:android-apt plugin is incompatible with future version of Android Gradle plugin
解决Warning:android-apt plugin is incompatible with future version of Android Gradle plugin。今天在导入google官方的dagger+mvp项目的时候遇见了一个错误,dagger不会自动生成DaggerAppComponent,查看的时候发现是有一个warning:1转载 2017-12-22 09:39:58 · 233 阅读 · 0 评论 -
关于Andriod Studio 2.3 无法使用自定义字体的问题
鉴于app 的美观要求,我们为了跟app 的style 想配套,比如针对小朋友的app,我们常常需要将字体换成卡通类的自定义字体,发布到国外,我们可能需要使用外文相对应的风格,要求使用自定义字体。当我在res 文件夹下创建font 文件夹,导入.ttf 文件,但是在布局文件中去调用自己导入的字体,却无法找到@font 文件夹,自己手写该文件会报错。如android:fontFamily="@fon原创 2017-12-22 09:56:03 · 454 阅读 · 0 评论 -
Permission Denial: not allowed to send broadcast android.intent.action.MEDIA_MOUNTED from pid=2269,
转自:http://blog.youkuaiyun.com/u010156024/article/details/47681851当在Android上进行图片的扫描功能开发时一般会使用:sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse(“file://”+ Environment.getExternalStorage转载 2017-12-18 10:19:33 · 1523 阅读 · 0 评论 -
activity 启动模式与任务栈
任务栈一任务栈二转载 2018-01-22 18:59:46 · 189 阅读 · 0 评论