在Android Studio项目中设置文件夹显示层级效果.
如果项目有不同的包名的时候,需要分层次文件夹结构
点击项目上方工具栏最右边的设置按钮将Hide Empty Middle Packages取消勾选
发布kotlin项目到jcenter时javadoc 包名错误
在build.gradle中添加task
tasks.withType(Javadoc).all {
enabled = false
}
Windows项目encoding
Your project path contains non-ASCII characters.
在项目gradle.properties中添加
android.overridePathCheck=true
List of devices attached
- daemon not running; starting now at tcp:5037
- daemon started successfully
d75f3be0 no permissions (user in plugdev group; are your udev rules wrong?); see [http://developer.android.com/tools/device.html]
https://github.com/ixyxj/android-udev-rules
~ $ whereis adb
adb: /opt/Android/Sdk/platform-tools/adb
~ $ sudo chmod a+s adb
chmod: 无法访问'adb': 没有那个文件或目录
~ $ sudo chmod a+s /opt/Android/Sdk/platform-tools/adb
项目中添加aar
android {
..........
repositories {
flatDir {
dirs 'libs'
}
}
}
网友评论