I'm getting the following error after creating a new wear app. I'm also getting this in the example app found in the sdk folder.
C:\Users\Tom\AppData\Local\Android\android-studio1\sdk\samples\android-20\wearable\SynchronizedNotifications\Application\build\intermediates\exploded-aar\com.google.android.gms\play-services\5.0.77\res\drawable-mdpi\common_signin_btn_text_disabled_focus_light.9.png ERROR: Unable to open PNG file
It's related to the directory and file name length. I believe it needs to be under 256 characters.
C:\Users\Tom\AppData\Local\Android\android-studio1\sdk\samples\android-20\wearable\SynchronizedNotifications\Application\build\intermediates\exploded-aar\com.google.android.gms\play-services\5.0.77\res\drawable-mdpi\common_signin_btn_text_disabled_focus_light.9.png
is 265 characters.
Moving the project to a lower directory fixed the issue.
I'm going to try implementing a hardlink to the directory to shorten the name so I won't have to update the directory structure.
I also submitted a ticket with the android dev team. Currently priority is set to small... https://code.google.com/p/android/issues/detail?id=73873
The build file path exceeds the Windows max path length (260 characters). Please make sure that your android project path is not too long and try to use short names as well.
Refer to the following link for additional details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With