DroidPlanner PlayUAV 社区版 代码 已经上传
飞控开发因社区用户要求,上传DroidPlanner PlayUAV 社区版代码。 整个工程文件都在附件里, 下载后直接用Android Studio 就可以编译, 请自己去申请 百度地图 SDK API Key , 并添加到工程里。 本想整理好代码之后再上传, 用户一直催促,那就上传吧 。
130 个评论
质的飞跃 回复 starrewriter
一直都是用eclipse,用Android stdio打开提示这个。。。怎么办?有详细的步骤吗?好失败啊。。。
打开 Android 目录下 的 build.gradle, 找到如下字段:
signingConfigs {
release {
storeFile getAppKeystoreFile()
storePassword getAppKeystorePassword()
keyAlias getAppKey()
keyPassword getAppKeyPassword()
}
}
替换成:
signingConfigs {
release {
storeFile getAppKeystoreFile()
storePassword getAppKeystorePassword()
keyAlias getAppKey()
keyPassword getAppKeyPassword()
}
config {
keyAlias '你的key别名'
keyPassword '你的key密码'
storeFile file('你的密钥存储路径')
storePassword '你的存储密码'
}
}
谢谢
Error:A problem occurred configuring project ':Android'.
> Could not resolve all dependencies for configuration ':Android:_debugCompile'.
> Could not find com.google.android.gms:play-services-maps:6.5.87.
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-maps/6.5.87/play-services-maps-6.5.87.pom
https://jcenter.bintray.com/com/google/android/gms/play-services-maps/6.5.87/play-services-maps-6.5.87.jar
Required by:
droidplanner-master:Android:unspecified
> Could not find com.google.android.gms:play-services-location:6.5.87.
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-location/6.5.87/play-services-location-6.5.87.pom
https://jcenter.bintray.com/com/google/android/gms/play-services-location/6.5.87/play-services-location-6.5.87.jar
Required by:
droidplanner-master:Android:unspecified > com.sothree.slidinguppanel:library:2.0.2
release {
storeFile getAppKeystoreFile()
storePassword getAppKeystorePassword()
keyAlias getAppKey()
keyPassword getAppKeyPassword()
}
config {
storeFile file("gradle.keystore")
storePassword "gradle"
keyAlias "gradle"
keyPassword "gradle"
}
报错:
Error:Execution failed for task ':Android:packageRelease'.
> Failed to read key gradle from store "E:\droidplanner-master\Android\gradle.keystore": null
请问这个gradle.keystore是个怎样的文件,找了半天没发现,咋搞?
另外一种打包方法:菜单Build->Generate Signed APK->选择打包的module->配置keystore信息->OK,这
keyAlias “AndroidStudioKeystore”
keyPassword “123456”
storeFile file("C:\Users\Mike\AndroidStudioKeystore.jks")
storePassword “123456”
}
}
请问我这么写签名配置信息可以吗?自己在AndroidStudio上新建的keystore再在build.gradle里面修改的如上代码。但是为什么显示connot infer argument types?不知道是那里写错了,大神帮我看看不会是“”引号或者 \反斜杠 写的有问题?
Error:failed to find target android-19 : E:\Android_Studio_sdk
Install missing platform(s) and sync project
这又是怎么一回事?
sliencioGLL 回复 lg836
lg836 回复 sliencioGLL
我的修复了两个问题:
第一是 多国语言的问题,直接忽略了翻译文件缺失的错误。
第二:是我补充了签名,这个签名文件是我的,大家不行的话,自己做一个签名的keystore
第三:百度SDk按照百度官方申请后是不行的,要按照这个搞又遇到问题,key问题,解决方案:http://www.playuav.com/article/135
sliencioGLL 回复 lg836
lg836 回复 sliencioGLL
sliencioGLL 回复 lg836
sliencioGLL 回复 lg836
lg836 回复 sliencioGLL
sliencioGLL 回复 lg836
sliencioGLL 回复 lg836
Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
请问这个是什么问题?怎么解决?
lg836 回复 sliencioGLL
另外一种打包方法:菜单Build->Generate Signed APK->选择打包的module->配置keystore信息->OK,这
<resources xmlns:tools="http://schemas.android.com/tools"
tools:ignore="MissingTranslation">
lg836 回复 flysnow1234
我也是菜鸟,这货开源谁写的,代码完全没有注释,看的头疼!
lg836 回复 flysnow1234
SDK是21
build tools 21.1.2
把后缀名替换吧
想看看waypoint怎么生成的,结果发现mission writer.java啥啥木有。
除了hedong的注释,真的没发现一点点注释。
flysnow1234 回复 youke
Could not find com.google.android.gms:play-services-maps:6.5.87.
万恶的方校长,祝病魔早日战胜你!真的坑你爷啊,费了两天多时间,可怜新手啊!
flysnow1234 回复 lg836
lg836 回复 flysnow1234
flysnow1234 回复 lg836
a284978383 回复 lg836
Target device: genymotion-google_nexus_4___5_0_0___api_21___768x1280-192.168.56.101:5555
Uploading file
local path: E:\APPSD\droidplanner-master\Android\build\outputs\apk\droidplanner-3-debug.30010.apk
remote path: /data/local/tmp/com.playuav.android
Installing com.playuav.android
DEVICE SHELL COMMAND: pm install -r "/data/local/tmp/com.playuav.android"
pkg: /data/local/tmp/com.playuav.android
Failure [INSTALL_FAILED_NO_MATCHING_ABIS]
大神知道这是怎么个情况。
android stdio 1.5以上就报着个错误。
请问有人解决了没?
什么原因??
回复 qinhuaping
Caused by: java.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.playuav.android.lib.model.IDroidPlannerServices }
qinhuaping 回复 lg836
Error:Authentication scheme 'all'(Authentication) is not supported by protocol 'file'。
查询一下午无解,各位是怎么解决的?
回复 JackHenry