Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

cannot get Eclipse to make Android Projects

8 views
Skip to first unread message

Roland Schweiger

unread,
Nov 20, 2014, 12:37:38 PM11/20/14
to
Hello everyone,
i am quite desperate here ... and relatively new to Java, however i
feel like the most stupidest person on the world because i samply
cannot get Eclipse to make an Android project without throwing errors.

OS = Win7 64bit
Java JDK 1_8_0_25 (both x86 and x64)
Used Eclipse version is the latest (Luna) and i tried both 32bit and
64 bit, currently using the 64bit version.

I can generate simple Java apps for Windows (e.g. by importing
java.util.Scanner) or i can also create something with Windows GUI (by
importing java.awt.*).

Now to Android -- i think that i did everything according to the many
instructions found on the internet.

-- Downloaded and installed the Android SDK
-- went to the sdk manager and installed the support library + the
latest sdks (Android 5).
-- In Eclipse luna, went to Help ---> install new software and
installed the ADT repository.
-- checked if Eclipse finds the Android SDK.

At 1st glance everything looks fine, and i can also create an aVD
virtual android /mobile phone device.

When i now want to make a new Android project, nothing seems to work.

New --> Android Applicatin project ---> androtest
minimur requirement ... i took API10
Target SDK = API21
Compite with = API21
Theme "holo light with dark action bar"

no custome launche icon
blank activity.

activity name = MainActivity

When i now hit "finish", numerous errors occur:

--------- errors on the console window -----
2014-11-20 18:34:23 - androtest]
C:\Users\Roland\workspace\androtest\res\values-v14\styles.xml:8:
error: Error retrieving parent for item: No resource found that
matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2014-11-20 18:34:23 - androtest]
[2014-11-20 18:34:24 - androtest]
C:\Users\Roland\workspace\androtest\res\values\styles.xml:7: error:
Error retrieving parent for item: No resource found that matches the
given name 'Theme.AppCompat.Light'.
[2014-11-20 18:34:24 - androtest]
[2014-11-20 18:34:24 - androtest]
C:\Users\Roland\workspace\androtest\res\values-v11\styles.xml:7:
error: Error retrieving parent for item: No resource found that
matches the given name 'Theme.AppCompat.Light'.
[2014-11-20 18:34:24 - androtest]
[2014-11-20 18:34:24 - androtest]
C:\Users\Roland\workspace\androtest\res\values-v14\styles.xml:8:
error: Error retrieving parent for item: No resource found that
matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
[2014-11-20 18:34:24 - androtest]
------------------------------------------------------------
plus the following errors underneeth the graphic window

Missing styles. Is the correct theme chosen for this layout?
Use the Theme combo box above the layout to choose a different layout,
or fix the theme style references.

Failed to find style 'textViewStyle' in current theme
---------------------------------------------------------------------------

As said, tried 32/64 bit versions and also tried the ADT bundle where
an (elderly) eclipse version is bundled with Android SDKs.
Similar errors.

Then i did everything from scratch and installed eclipse luna and
still get these problems.


What im i doing wrong??

Would greatly appreciate some help.

greetings from Vienna

Roland Schweiger

Roland Schweiger

unread,
Nov 27, 2014, 5:41:41 AM11/27/14
to
Seems that i found the problem.

Looks like the Eclipse IDE ... when using the wizard to create a new
Android project ... does not like the minimum requirement of
API10.
Although i checked in the SDK manager if all parts of API10 are
loaded.

When setting the minimum required platform to API16 (jelly bean) all
seems to work.
Again, had to check that all components of API16 were installed.

greetings

Roland Schweiger

0 new messages