google / libaddressinput

Google’s postal address library, powering Android and Chromium
Apache License 2.0
572 stars 103 forks source link

aapt start failed on my Mac. #221

Open zhangchf opened 2 years ago

zhangchf commented 2 years ago

Not sure if this library still under maintenance? Seems like the build tools version is very low.

I'm evaluating this library for our project recently. I setup the build tools according to the specified version,

But build failed with the following error:

* What went wrong:
Execution failed for task ':android:processDebugResources'.
> A problem occurred starting process 'command '/Users/chaofan.zhang/Library/Android/sdk/build-tools/21.1.2/aapt''

When I try to run aapt itself, it gives me bad cpu type error.

 % /Users/chaofan.zhang/Library/Android/sdk/build-tools/21.1.2/aapt
zsh: bad CPU type in executable: /Users/chaofan.zhang/Library/Android/sdk/build-tools/21.1.2/aapt

Can you upgrade the android build tool version, sdk version, also gradle version?

I tried to update those build tool and sdk versions to current, but it introduce api changes, and need to udpate code.