hannes
hannes

Reputation: 537

Import Libraries into Android Projects

i hope someone can help me with the following.

I have 3 Apps and i want to import them into another project in order to test them. Ok for each of these 3 apps i go to Properties->Android->Checkbox Library ->apply

then i create a Testapp and go to Properties->Android->add Library->apply

But then there are errors considering the R files. e.g.: findViewById(R.id. ...); does not work -> ...cannot be resolved or is not a field! If i test them locally everything works, but these apps should be integrated to another main-app later and i want to know if everything is ok.

Thanks hannes

Upvotes: 1

Views: 10298

Answers (1)

VG108
VG108

Reputation: 122

Go to properties of one of the project: java-build-path->projects->add add dependencies of all other projects

Upvotes: 2

Related Questions