所以我试图构建一些需要相机许可的扫描仪应用程序,我在清单上尝试这个:
<uses-permission android:name="android.permission.CAMERA" />
然后我收到了这样的错误:
Error:(28) error: unknown element <uses-permission> found.
Error:(28) unknown element <uses-permission> found.
Error:java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
Error:Execution failed for task ':app:processDebugResources'.
> Failed to execute aapt
有人可以帮我吗?