Android Studio not showing modules in project structure

后端 未结 16 1067
醉酒成梦
醉酒成梦 2020-12-29 17:58

I am using Android studio and I want to add module to my project like \"action bar Sherlock\" or jar files, but when I opened the project structure there is no module or lib

16条回答
  •  失恋的感觉
    2020-12-29 18:42

    As for me issue was that the first line in the build.gradle file of the OpenCV library.

    It was something like this: apply plugin: 'com.android.application' This refers to the fact that the imported OpenCV is an application and not a library. It exists for OpenCV above 4.1.0. So change it to: Something like this: apply plugin: 'com.android.library'.

    You might get an error in ApplicationId, comment it out in the gradle file.

提交回复
热议问题