AltimitSystems / mv-android-client

RPG Maker MV unofficial Android client
http://www.hbgames.org/forums/viewtopic.php?f=48&t=79391
Apache License 2.0
115 stars 38 forks source link

I can not build after update Android studio. #3

Closed wrt0302 closed 6 years ago

wrt0302 commented 6 years ago

When building with Crosswalk target, the build fails with the following error from Gradle.

Gradle build error

Information:Gradle tasks [clean, :app:assembleZz_crosswalkDebug, :clientapi:assembleDebug, :libandroidapi:assembleDebug]
C:\Users\JSD-PC\.gradle\caches\transforms-1\files-1.1\appcompat-v7-27.1.0.aar\2eba98daea008f67cb38572acec66ad1\res\values\values.xml
    Error:(251, 5) error: resource android:attr/fontVariationSettings not found.
    Error:(251, 5) error: resource android:attr/ttcIndex not found.
C:\Users\JSD-PC\Downloads\RPG Maker Android client\newProj\app\build\intermediates\incremental\mergeZz_crosswalkDebugResources\merged.dir\values\values.xml
    Error:(248) resource android:attr/fontVariationSettings not found.
    Error:(248) resource android:attr/ttcIndex not found.
Error:failed linking references.
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:processZz_crosswalkDebugResources'.
    > Failed to execute aapt
Information:BUILD FAILED in 18s
Information:9 errors
Information:0 warnings
Information:See complete output in console

However, there is no problem when building with a WebView target.

This is supposed to be a bug and I wrote it as an issue.

felixjones commented 6 years ago

Thanks, I will get to fixing this right away.

felixjones commented 6 years ago

This issue has been resolved as of https://github.com/AltimitSystems/mv-android-client/commit/3ecc1f3a4101f71674ee94dc3c6a322f4e0316d7

Re-download or pull the latest changes from the master branch to receive the fixes.