Issue with 'Hello Android' tutorial

后端 未结 7 1483
忘掉有多难
忘掉有多难 2021-01-06 00:46

I am brand new to Eclipse and Android, but somewhat familiar with Java. That having been said, I tried to follow the \'Hello Android\' tutorial from the developer site usin

7条回答
  •  天命终不由人
    2021-01-06 01:18

    There has been a discussion on this with two proposed solutions http://code.google.com/p/android/issues/detail?id=724

    Comment 17 by zachrcrowe, Jan 06, 2010 FYI - I had to change a line in the Hello Android example to read this.setContentView(tv); in order for it to work. As mentioned above, the deprecation warning shouldn't affect the functionality of the emulator.

    Comment 18 by mfrony, Jan 14, 2010 I had the same problem when I ran the Hello Android example. The way I solved it and could run my first Android code was by changing the Project Build Target from 1.1 to 1.5.

提交回复
热议问题