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.
Asked
Active
Viewed 119 times
1

sakthisundar
- 3,278
- 3
- 16
- 29

srinivas
- 65
- 9
-
can you put some part of your error code. – Sumit Singh Oct 11 '12 at 06:42
-
Please post the error message. – Rajesh Rajaram Oct 11 '12 at 06:44
3 Answers
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