Pumayk26 commented on issue #1178:
URL: 
https://github.com/apache/cordova-android/issues/1178#issuecomment-901108249


   > 
   > 
   > > > **Tested and it worked.**
   > > > I changed on config.xml to :
   > > > ` <preference name="android-targetSdkVersion" value="30" />`
   > > > but it didn’t work so, I remove the platform by using :
   > > > ` cordova platform remove android`
   > > > then add the latest cordova android version :
   > > > ` cordova platform add android@latest`
   > > > finally build the project :
   > > > `cordova build android`
   > > > It worked! Amazing.
   > > > You can check it by going to this file.
   > > > 
\platforms\android\app\build\intermediates\merged_manifests\debug\AndroidManifest.xml
   > > 
   > > 
   > > Hi Chamara... Did you able to compile your ionic app with sdk 30..? Am 
getting this annoying error message again and again...
   > > 
`C:\Users\User_App\platforms\android\app\src\main\java\org\apache\cordova\whitelist\WhitelistPlugin.java:63:
 error: cannot find symbol allowedRequests = new Whitelist(); ^ symbol: class 
Whitelist location: class org.apache.cordova.whitelist.WhitelistPlugin Note: 
Some input files use or override a deprecated API. Note: Recompile with 
-Xlint:deprecation for details. Note: Some input files use unchecked or unsafe 
operations. Note: Recompile with -Xlint:unchecked for details.`
   > 
   > remove whitelist plugin using `cordova plugin rm cordova-plugin-whitelist` 
it is mentioned on that plugin page 
https://github.com/apache/cordova-plugin-whitelist
   
   Thanks a lot... Am a noob to this ionic cordova stuff... You made my day 
dear... :)  Thanks again


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to