How to attach source to android.jar

前端 未结 7 711
故里飘歌
故里飘歌 2020-12-04 07:17

I am new to Android. I am working in the Windows OS with the Eclipse IDE. My simple application has a spinner that populates a list from database column. When I click on th

7条回答
  •  一整个雨季
    2020-12-04 07:32

    I added appengine sdk and some other sources, and that destroyed my ADT :-(

    I saw that for android-16 and android-17, the platform libraries downloaded by SDK Manager started going to ./sdk/sources whereas prior to my adding appenginge sdk, SDK Manager sent platforms to ./sdk/platforms.

    It looks like the change is as a result of the appengine sdk, but for ADT, platform APIs should def be going to ./sdk/platforms

    The path ./sdk/sources seems like a more generic java location and is probably the 'correct' path. Thus Android, as usual, is the problem. I was pretty sure from this point forward, I would need both ./sdk/sources and ./sdk/platforms, depending on what I was compiling.

    So, I moved everything from ./sdk/sources to ./sdk/platform, deleted ./sdk/sources and then created a link 'cd sdk && ln -s platform sources'

    Everything works now ;-)

提交回复
热议问题