Bret
Bret

Reputation: 159

Importing Android Project Into Eclipse Error

I am trying to run an imported Android Project but I have run into a few errors. A big red exclamation mark is on both the project folder I want to run and the android-support-v7-appcompat folder.

Here are some screenshots that can hopefully help locate the issue.

1) Screen shots from the Android project I want to run:

Properties -> Java Build Path -> Order and Exports tab. There is a red X on Android Dependencies.

enter image description here

Properties -> Java Build Path -> Order and Exports tab. There is a red X on Android Dependencies.

enter image description here

Properties -> Android -> Library

enter image description here

Properties -> Andoid -> Android 4.4.2 is checked, API 19

Android Manifest minSDK and target SDK:

enter image description here

Here is the libs folder of the Android Project I want to run:

enter image description here


2) Screenshots from the android-support-v7-appcompat folder:

res -> values-v21 error

enter image description here

Properties -> Java Build Path -> Order and Exports tab. enter image description here

Properties -> Java Build Path -> Libraries tab. enter image description here

Properties -> Android -> Android 4.4.2 is checked, API 19

Libs folder:

enter image description here

Android Manifest minSDK:

enter image description here

I am very new to the Android process, and setting up this imported project correctly is quite confusing. Any help or detailed instructions on how to possibly fix the problem would be very much appreciated. Thank you.

Upvotes: 1

Views: 487

Answers (2)

Aditi Parikh
Aditi Parikh

Reputation: 1522

@Bret:If you are facing issue with supportv4.jar version,then try to copy paste the your app's jar file into compact project or vice versa.Make sure you have same jar file in both project and library project.

It will remove your dependency issue of jar mismatch...

Upvotes: 2

abhishesh
abhishesh

Reputation: 3316

Delete android.library.reference.1=../appcompat_v7 from project.properties file. Remove all dependency of appcompat_v7 from your project. Clean->build->Run

Upvotes: 0

Related Questions