Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

aapt start failed on my Mac.

Open
#221 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
android

Research direction

Start by inspecting the Android build configuration for the pinned build-tools 21.1.2, Android API 22, and Gradle versions. Reproduce the processDebugResources failure and the aapt “bad CPU type” error on macOS; done means the project builds with updated tool versions without this failure.

Written by the indexing model from the issue text.

Description

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,

  • Tools/Android SDK Build-tools (Rev. 21.1.2)
  • Android 5.1 (API 22)
  • Extras/Android Support Library
  • com.google.android.gms:play-services-location:10.0.0
  • com.google.android.gms:play-services-places:9.2.0

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.

Dominant language
C++
Stars
629
Forks
109
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from google/libaddressinput

All issues in google/libaddressinput

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.