How can these errors be fixed?(SOLVED)

#1

I used the Unity Ads extension but when I tried to bundle the game the following errors occurred:
java.security.PriviligedActionException:Unknown
java.net.UnknownHostException: github.com

How do I fix these errors?

And also the game doesn’t build again.

0 Likes

#2

Hmm, looks strange.
Could you make the next steps please:

  1. Close Defold.
  2. Open your project folder.
  3. Remove .internal and build folders
  4. Open project again

Also, could you please show what libraries you added to your project (screenshot of this section or game.project file)?

Could you try to open this link manually https://github.com/AGulev/DefVideoAds/archive/master.zip ?

1 Like

#3

I added just the Unity Ads extension

0 Likes

#4

Usually, this kind of errors appears when the internet connection is blocked for the Editor.
It could be a standard windows firewall or a custom firewall.

For example, when you start the Editor (the first launch) Windows show you something like this, but for Defold Editor:
Windows-Firewall-has-blocked-some-features-of-this-app-Copy
If you don’t allow access then it could be a reason for the problem.

5 Likes

#5

Thanks it’s working fine now.

2 Likes

#6

Nice catch!
Do we have this in the FAQ?

3 Likes