Android Studio 3.1.2 Device File Explorer nothing to  show 不显示 目录  ,空白 手持终端设备: Android  4.2.2  ,API17 刚开始显示 为了开启USB OTG功能,Root了手持终端(装Root精灵) 解决方法 移除root权限,再卸载Root精灵 Device File Explorer 显示正常…
版本Android Studio3.2…
不知道为什么,右键点sync不起作用,必须点一下列表中的设备,才可以.…
shape •新建 Drawable resource file 点击 app/src/main/res 找到 drawable 文件夹,右击->New->Drawable Resource File. •常用属性 <gradient> : 设置渐变色 startColor : 起始颜色 endColor : 结束颜色 centerColor : 中间颜色 angle : 方向角度,等于 0 时,从左到右,然后逆时针方向转,当 angle = 90 度时从下往上 type : 设置…
cp : https://blog.csdn.net/yi_master/article/details/80067198 1:JAVA8特性支持 1)Base64.java 在升级到as3.0之后,我们便可以使用Base64.java这个类了,这个类的在java.util.Base64包下:而android里面也有一个Base64.java,那么他们加解密的内容是否一致? 先看下工程配置 代码如下 private void showUserJava8Feature(){ //java base…
谷歌2017发布会更新了挺多内容的,而且也发布了AndroidStudio3.0预览版,一些功能先睹为快.(英语一般,有些翻译不太好) 下载地址 https://developer.android.google.cn/studio/archive.html 选择显示全部即可看到下载地址,这里给出来了. Windows (64-bit): android-studio-ide-171.4010489-windows.zip (702075896 bytes) https://dl.google.c…
前言: 之前开发的一个记账本APP,用的是SQLite数据库,会有一些网友问如何查看数据库,这篇博文对此进行一个说明. 操作: 1.通过DDMS(Dalvik Debug Monitor Service)来查看 启动路径:View -> Tool Windows -> Device File Explorer 2.查看data文件夹 文件目录:/data/data/包名/databases/数据库名 在该步骤,.db文件是无法直接打开的,选中文件,右击,可以save as到其它目录 3.通过可…
ProGuard In this document Enabling ProGuard (Gradle Builds) Configuring ProGuard Examples Decoding Obfuscated Stack Traces Debugging considerations for published applications See also ProGuard Manual » ProGuard ReTrace Manual » The ProGuard tool shri…
文件存储 写数据 String data = "Data ti save"; FileOutputStream out =null; BufferedWriter writer =null; try{ out = openFileOutput("data",Context.MODE_PRIVATE)//MODE_APPEND有同名文件时追加,PRIVATE是默认,有同名文件时覆盖 writer = new BufferedWriter(new OutpurStrea…
Learn Android Studio 汉化教程 By now you are familiar with the basics of creating a new project, programming, and refactoring.It is time to create an Android application, otherwise known as an app. This chapter introduces the first of four lab projects.…