1

I have created a project on jdk 1.6 and android Rev. 20 . Now I have installed 1.7 for few features, but it is not accepting. We have to import sun.audio package in java 1.7 which we intend to use in android. But it is giving me errors. Please help me out. Thanks in advance.

sakthisundar
  • 3,278
  • 3
  • 16
  • 29
srinivas
  • 65
  • 9

3 Answers3

2

Here the same Questions and Here

And also sun package should not used Check Here

Solution for your question is

Right Click on project -> Properties -> Java Compiler -> Check the "Enable Project Specific settings" -> change compiler version to 1.6

Community
  • 1
  • 1
Rajesh Rajaram
  • 3,271
  • 4
  • 29
  • 48
0

sadly , android still does not support java 1.7 . you have to find a workaround and not use this package .

for audio , you have a lot of built in classes and also third party classes .

android developer
  • 114,585
  • 152
  • 739
  • 1,270
0

http://developer.android.com/sdk/index.html

click on System requirements

axis
  • 874
  • 2
  • 7
  • 13