Imported project unable to run in Android studio

2019-08-22 06:40发布

I imported Google's HelloAr project after downloading and decompiling the code. I followed the accepted answer in this SO question to create all necessary folders. Then I imported it into android studio. But now I am unable to run the project.

build.gradle:

enter image description here

Modules :

enter image description here

UnityPlayerActivity:

enter image description here

enter image description here

1条回答
萌系小妹纸
2楼-- · 2019-08-22 07:07

I figured it out. I was missing

settings.gradle

file at the root of the project. Android studio will not automatically add it for you. You have to manually add it to your root before you import the project into AS.

查看更多
登录 后发表回答