Hi,
I've just upgraded my instalation of the Android SDK and I'm facing
a new problem. Let's see if someone else have faced it.
I've created a project AppCore, and a projects App. AppCore is a
library project (project -> properties -> android -> Is Libray), while
App and AppAds have AppCore as library (project -> properties ->
android -> Library -> Add -----> AppCore). (1)
Clean, rebuild,... and App does not build (AppCore does build
without problem). The error is:
"The project cannot be built until build path errors are resolved"
project -> properties -> Java Build Path shows no errors. The
Libraries tab shows a new entry Library Projects pointing to AppCore.
This problem happens both to new project I create after the upgrade
of the SDK and the ADT plugin, as well as to old projects that I have
created before the upgrade. No need to tell that those old projects
were compiling without problem with the old SDK/ADT.
So I open .classpath and find this:
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con"
path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="con"
path="com.android.ide.eclipse.adt.LIBRARIES"/>
<classpathentry kind="output" path="bin/classes"/>
</classpath>
After a lot of trial-error, I've found that if I remove the
LIBRARIES entry, the build path error does not show (of course, it
complains about a lot of missing classes).
Any further idea? Any hint?
(1): You probably guess that I will create a project AppAds, and that
AppCore is the shared code, while App is the paid version and AppAds
is the free version with Ads. App clases extends AppCore classes.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en