Comments (14)
@pphdsny 是的,可以先确认一下手机上是否安装了多个依赖了freeline的app吗?比如说freeline的sample工程,如果有的话,可以卸载掉,再重新用freeline打包试试看
from freeline.
freeline的sample工程没有安装,至于其他的App是否有用过freeline,这边就不太清楚了。有木有办法能看其他App有木有用freeline
from freeline.
@pphdsny 通常报这个exception是因为你的手机上执行adb shell pm list package {your package}
,没有存在你的工程app导致的..这里你那边可以提供更多信息吗?
from freeline.
@lomanyong 是不是adb命令要配全局环境啊,我这边木有配置!
from freeline.
@pphdsny freeline会自动去获取你的adb所在的位置的,这点不会影响。你本地要自己使用adb
命令的话,可以自己配置下环境变量
from freeline.
@lomanyong
adb shell pm list package com.yourdream.app.android
package:com.yourdream.app.android
执行了,你上面的那条命令,是有这个包存在的!
from freeline.
@pphdsny 可以看一下~/.freeline/cache/xxxxxxx/project_description.json
这个文件,看下里面的pakage
字段是否正确
from freeline.
@pphdsny Freeline的运行期依赖加了么 Application onCreate加入 " FreelineCore.init(this)"
from freeline.
@charvenhe 加了依赖
@lomanyong 看了该文件,里面找到package为null
from freeline.
@pphdsny 额...python freeline.py -f
之后,查看那个文件,这个字段还是null?
package这个字段是根据applicationId来获取的,通常都配置在defaultConfig DSL里,你们这里有特殊配置吗?
from freeline.
@lomanyong 好了,我们applicationId没有配置,用的是AndroidManifest里面默认的,加上去就好了,谢谢了!真的编译很快~
from freeline.
@pphdsny 欢迎多体验哈~增量java跟增量资源都可以试试看
from freeline.
@lomanyong 再问个问题,新增的freeline.py和freeline,你们会加到git版本控制里面去么?
from freeline.
@pphdsny 你们可以自己添加到.gitignore
里面的
from freeline.
Related Issues (20)
- 我是先安装python2.7.9,然后安装你们github上的教程仔细来,然后点击android studio 上的freeline按钮,没反应.最最重要的是我用命令来执行python freeline.py多次还是和第一次执行的时间一样长,并且还没原始的run时间短?请教下怎么回事?
- WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation' and 'testApi'. It will be removed at the end of 2018. HOT 1
- Freeline 最新代码拉下来出错,无法下载1.0.0版本
- Freeline在Android Studio里面,无法搜索到,windows HOT 2
- gradle_tools.py 运行异常
- 不支持 Kotlin,一年没更新,卒。 HOT 3
- 好好的项目就这么凉了 HOT 3
- Jar Conflict about butterknife
- freeline提示No module named 'build_commands'无法运行 HOT 1
- 本地编译源代码,提示错误。com.antfortune.freeline:gradle:0.8.9-SNAPSHOT找不到
- Site offline
- 这么好的插件 怎么就凉了 HOT 3
- 纪念一下
- 与viewBinding 冲突 HOT 2
- Custom task is not recognized by jenkins
- JavaPoet Version collision With ViewBinding
- cannot use freeline in Android Studio 4.1.2, how to adapt Android Studio 4.1.2? HOT 2
- On Mac M1 ,Newest AndroidStudio "Could not find com.antfortune.freeline:gradle:0.8.8" HOT 1
- abnormal link
- 希望能够提供一个样例项目,第一步就配置不过去
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 freeline.