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

Build failing #58

Closed
bootstraponline opened this issue Oct 21, 2012 · 7 comments
Closed

Build failing #58

bootstraponline opened this issue Oct 21, 2012 · 7 comments

Comments

@bootstraponline
Copy link

Building with gradle target build fails.

https://buildhive.cloudbees.com/job/tmp-/job/Apktool/2/console

9a78ae6788441a45f41bbf49deb2e4668848d694

ResScalarValue.java:116: cannot find symbol
symbol  : variable mBody
location: class brut.androlib.res.data.value.ResScalarValue
        if (ResXmlEncoders.hasMNPS(mBody)) {            
                                   ^
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.
@iBotPeaches
Copy link
Owner

Yeah something happened during a merge from a fix. Haven't had time to fix it, but by the looks of the error just looks like an undefined variable.

@bootstraponline
Copy link
Author

Have you thought about setting up BuildHive or Travis CI so that pull requests are automatically checked before they're merged? BuildHive just takes one click.

@iBotPeaches
Copy link
Owner

The fix did test out fine locally when I merged it, then I lost HDD due to crash. So I just auto-merged it from pull request.

It was a fluke accident that won't happen again.

@bootstraponline
Copy link
Author

It'd still be nice to have build history + a badge in the readme.

Build Status

@iBotPeaches
Copy link
Owner

I added mine own: https://buildhive.cloudbees.com/job/iBotPeaches/job/Apktool/

Just can't figure out how to add "aapt" to it. Its in /bin/aapt, but buildhive, doesn't load it. Therefore all builds will fail.

@bootstraponline
Copy link
Author

aapt is required to build? It's not listed in the build instructions.

If you need to use custom programs then Travis CI is a better fit. Here's an example of using custom executables on Travis.

@bootstraponline
Copy link
Author

It looks like DEV@Cloud has support for the Android SDK.

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

2 participants