Android project referencing “normal” java project in eclipse since sdk tools update 17

前端 未结 5 2322
甜味超标
甜味超标 2020-12-15 19:57

Since the latest android sdk i am unable to run my android applications from eclipse anymore because they cant find classes which i have in other eclipse projects, which are

5条回答
  •  北荒
    北荒 (楼主)
    2020-12-15 20:49

    You can define two projects (one Android, one vanilla Java) and have one refer to the other project's source files using mklink command in Windows to create a directory junction or a file hard link. I don't know the linux equivalent but there must be one. If you edit a source file from one project then the other project will be out of sync and you just have to refresh it. This way you don't have to mess with jars or the Eclipse build process.

提交回复
热议问题