Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not build your project in android studio #2

Open
vovanb opened this issue Mar 28, 2024 · 0 comments
Open

can not build your project in android studio #2

vovanb opened this issue Mar 28, 2024 · 0 comments

Comments

@vovanb
Copy link

vovanb commented Mar 28, 2024

Hi
I receive below error when compiling the project in Android studio:
`

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugResources'.

A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$TaskAction
Android resource linking failed
ERROR: C:\Temp\MAUI\AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_main.xml:146: AAPT: error: attribute adSize (aka com.example.myapplication:adSize) not found.

 ERROR: C:\Temp\MAUI\AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_main.xml:146: AAPT: error: attribute adUnitId (aka com.example.myapplication:adUnitId) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_pattern.xml:63: AAPT: error: attribute aspectRatio (aka com.example.myapplication:aspectRatio) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_pattern.xml:63: AAPT: error: attribute correctStateColor (aka com.example.myapplication:correctStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_pattern.xml:63: AAPT: error: attribute wrongStateColor (aka com.example.myapplication:wrongStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_pattern.xml:63: AAPT: error: attribute aspectRatioEnabled (aka com.example.myapplication:aspectRatioEnabled) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\activity_pattern.xml:63: AAPT: error: attribute normalStateColor (aka com.example.myapplication:normalStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\lockscreen.xml:241: AAPT: error: attribute correctStateColor (aka com.example.myapplication:correctStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\lockscreen.xml:241: AAPT: error: attribute wrongStateColor (aka com.example.myapplication:wrongStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout\lockscreen.xml:241: AAPT: error: attribute normalStateColor (aka com.example.myapplication:normalStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout-land\lockscreen.xml:241: AAPT: error: attribute correctStateColor (aka com.example.myapplication:correctStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout-land\lockscreen.xml:241: AAPT: error: attribute wrongStateColor (aka com.example.myapplication:wrongStateColor) not found.
     
 ERROR: AndroidStudioProjects\NamooProtector\app\src\main\res\layout-land\lockscreen.xml:241: AAPT: error: attribute normalStateColor (aka com.example.myapplication:normalStateColor) not found.

`
Any chance to help?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant