android studio androidmanifest.xml not found,未找到AndroidManifest.xml文件:Maven + Android Studio...

I am using Android Studio and am new to it.I have used git to clone the project from the repository. Also I am using Maven and building the project.

我正在使用Android Studio並且不熟悉它。我使用git從存儲庫中克隆項目。我也在使用Maven並構建項目。

When I try to make the project, am getting error like AndroidManifest.xml not found.Please help me out.

當我嘗試制作項目時,收到的錯誤就像找不到AndroidManifest.xml那樣。請幫幫我。

I know this is a duplicate question as I have gone through the links: AndroidManifest.xml file not found ERROR: Android Source Generator: [project] AndroidManifest.xml file not found But both links are not able to solve my problem.

我知道這是一個重復的問題,因為我已經通過鏈接:未找到AndroidManifest.xml文件錯誤:Android Source Generator:[project] AndroidManifest.xml文件未找到但是這兩個鏈接都無法解決我的問題。

Please help me.

請幫我。

1 个解决方案

#1

0

I have encountered this issue on Android Studio, what you are missing is adding your sources under module source settings.

我在Android Studio上遇到過這個問題,您缺少的是在模塊源設置下添加源。

Add your content root and mark build & src/main as sources

添加內容根並將build&src / main標記為源

It should look like this

它看起來應該是這樣的

2e61605352db3ac66bc54358cd54cd88.png

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值