Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app主项目变为lib问题 #65

Open
805058027 opened this issue Mar 21, 2019 · 1 comment
Open

app主项目变为lib问题 #65

805058027 opened this issue Mar 21, 2019 · 1 comment

Comments

@805058027
Copy link

build-gradle版本号:
dependencies {
classpath 'com.github.jimu:build-gradle:1.3.3'
}

baselib下的版本号:
api 'com.github.jimu:componentlib:1.3.3'

并且指定app为主项目
mainmodulename=app

app下的gradle.properties也配置为isRunAlone=ture

app下的build.gradle文件配置
apply plugin: 'com.dd.comgradle'后,app就变为lib了是什么原因导致的呢?

@YummyLau
Copy link

建议把debug调试方式改一下。因为会动态修改android 插件,而且如果项目存在其他插件,可能会出现兼容性问题。 最好通过独立模块集成调试,支持多组件调试,可以参考我的项目。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants