First Here\'s my Java Build Path in Eclipse:
These four jars \'common.jar,core
The simplest solution for me was to replace android.jar
with one with the hidden API included. Get android.jar
from this project library that provides access to Android hidden API and internal resources and place it to your ASDK platforms folder, to the platform you're compiling against (compileSdkVersion
).
I'm sure it works with Eclipse as well ))