简体   繁体   中英

Cannot read packageName - Android Studio

I've checked and tried different solutions I ran into but none helped. I keep getting this error message and I checked to see if the manifest file was under /src/main and it was. 在此处输入图片说明 在此处输入图片说明

Below section in the module level build Gradle file should be moved to project level build Gradle file:

respositories{
       ...
}

and in your module level build Gradle file, check if there is a line on the top:

apply plugin: 'com.android.application'

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM