Skip to content

Not compatible with Android 23 #205

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

Closed
codeanticode opened this issue Apr 16, 2016 · 8 comments
Closed

Not compatible with Android 23 #205

codeanticode opened this issue Apr 16, 2016 · 8 comments
Assignees

Comments

@codeanticode
Copy link
Contributor

Tested automatically downloading Android SDK 23, but sketched give an error when running the build script that comes with the platform (android-23 not found).

@codeanticode codeanticode self-assigned this Apr 16, 2016
@codeanticode codeanticode added this to the Final 3.0 release milestone Apr 16, 2016
@omerjerk
Copy link
Contributor

Hey @codeanticode,
Are you working on this ?
I can look into it.

@codeanticode
Copy link
Contributor Author

codeanticode commented Apr 18, 2016

That would be great. Use the latest revision, and change PLATFORM_API_LEVEL to 23, and install the SDK automatically from the PDE. Once installed, try running a sketch on the device.

@codeanticode
Copy link
Contributor Author

@omerjerk were you able to test it?

@omerjerk
Copy link
Contributor

I'm sorry. I missed your last reply.
I'll test it right away.

@omerjerk
Copy link
Contributor

@codeanticode
I tested it and it worked totally fine.
Although one thing I noticed was that dialog doesn't come even when the platforms folder is empty. I can send a pull request to take care of this case.

@codeanticode
Copy link
Contributor Author

codeanticode commented Apr 20, 2016

I'm still getting the error. What platform are you on? Linux? I'm on OS X, so I wonder if that has something to do with it.

The SDK that gets installed is N (23), which shows up in the SDK selection menu like this:

image

Any sketch that I try to run on the device fails with the following error in the console:

-build-setup:
Using latest Build Tools: 24.0.0 rc3
     [echo] Resolving Build Target for MoveEye...

BUILD FAILED
/Users/andres/code/processing/git/processing-android/sdk/tools/ant/build.xml:538: Unable to resolve project target 'android-23'

Total time: 2 seconds

@omerjerk
Copy link
Contributor

I'm on Ubuntu, but I don't think this issue is specific to OS.
I'll check again why it happens.

@codeanticode
Copy link
Contributor Author

Don't know why you didn't see this happening on Linux, but I found the problem: platform preview N has the same API level, 23, las the latest "stable" platform, 6.0, as you can see in the repository xml. So selecting platform only by level was downloading N, but Processing tried to use 23 (6.0), and this lead to the problem. This commit (where platform is selected by matching api level and version) fixes the issue:

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