Comments (6)
不会吧,报什么错?
from excludeaar.
build.gradle #33 resValue "string", "baiduKey", gradle.baidukey
报错 Build Config field connot have a null parameter
from excludeaar.
额,你自己申请一个百度地图的key,配置进去就可以了
from excludeaar.
在项目的app module 的build.gradle的脚本中。
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt')
resValue "string", "baiduKey", gradle.baidukey
signingConfig signingConfigs.keyTest
}
debug{
resValue "string", "baiduKey", gradle.baidukey
signingConfig signingConfigs.keyTest
}
}
gradle.baidukey就是用来读取local.properties的baidukey的,所以你只需要在local.properties文件配置一个百度的key它名字是baidukey就可以了
from excludeaar.
from excludeaar.
重新build一下就可以跑了,错误提示是找不到包,这个路径是build下的路径,build下的路径都是可以rebuild一下产生的。
至于项目为什么跑不起来,感觉是因为作者删除了local.properties下面的几个变量,自己把用到这几个变量的地方直接改掉就好了
from excludeaar.
Related Issues (20)
- 执行任务后,aar里面要过滤的包名是没看到了,但是点击as “运行”按钮,出现:Duplicate class cn.sirius.nga.BuildConfig found in modules jetified-exclude_GDTSDK_unionNormal-runtime.jar (exclude_GDTSDK_unionNormal.aar) and jetified-XXX_sdk_v3.1.0-runtime.jar (:XXX_sdk_v3.1.0:) HOT 9
- 先自动化检测主module跟放在libs/exclude文件夹内的aar文件之间存在的冲突包名,然后再过滤那些冲突的包名,这种该怎么实现呢? HOT 13
- 需要导出为aar的library中需要导入另外的aar,应该如何配置? HOT 3
- platform update
- 请问一下大佬,java.lang.NoClassDefFoundError 该怎么办 HOT 3
- 内部类好像去不掉 HOT 1
- 支持过滤aar里面res里面的文件吗? HOT 1
- 路径文件不存在
- jcenter不是要关闭服务了嘛?您可以换个仓库吗?
- 执行任务报错
- 请问下如果不想使用NamedDomainObjectContainer HOT 1
- 报错 Cannot add task 'unZip_jar_libchips' as a task with that name already exists.
- Task 'excludeAar_BaiduLBS_Android_debug' not found in root project 'ExcludeAar'.
- aar的使用方式是否需要修改 HOT 1
- 构建时合并AndroidManifest.xml出现org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; 前言中不允许有内容 HOT 4
- 运行demo必须是studio版本3.5以上吗 HOT 33
- 不支持mac吗? HOT 2
- demo看不懂?怎么才能运行 HOT 1
- 编译不过
- 可以编译一个低版本gradle的包吗,你的gradle版本有点高 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excludeaar.