I'm trying to use the WifiEnterpriseConfig
and Eclipse isn't recognizing it, and I'm wondering what I'm doing wrong, or not doing at all.
I have included:
import android.net.wifi.WifiEnterpriseConfig;
The error I'm getting is:
The import android.net.wifi.WifiEnterpriseConfig cannot be resolved
I've updated my SDK to include the API 18, and I've updated Eclipse. Is there something else I'm missing?
I've clean/build several times, and also closed and reloaded Eclipse several times and nothing is working. I've also gone into Android Tools > Add Support Library.
Any suggestions would be helpful.
Right click on your project => Properties
=> Java Build Path
=> Order and Export tab
=> check Android Private Libraries
and select OK
Clean Project
NOTE: If you are using any Android Library projects that are using the support library, make sure you go to the properties of that project and do the same thing.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.