Code Monkey home page Code Monkey logo

Comments (13)

Mike-mei avatar Mike-mei commented on June 12, 2024

It shows that your network failed in your log, requesting ads requires internet access.
20210729-162917(WeLinkPC)

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

I do have a working connection. It did popped up two consent pop ups and I've accepted them. I can make a video recording if needed.

from hms-ads-demo-java.

Mike-mei avatar Mike-mei commented on June 12, 2024

Sure, please provide your video record.

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

The video was more than 10MB so I could not upload that to here.
Please watch it from here

I show my Wi-Fi settings and I browse through AppGallery at the start to prove that I have an active working internet connection. Then I open the application and you can see the results. I accept two consents but still ad error code 0.

from hms-ads-demo-java.

Mike-mei avatar Mike-mei commented on June 12, 2024

In order to locate your issue quickly, please run the following command to obtain full logs:

  1. adb logcat -v time >d:/hwads.txt
  2. Reproduce the problem scenario.
  3. Press Ctrl + C and copy the log to here

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

Hello there. I will be sending it today!

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

Here are the logs you've requested. hwads.txt

I've done the same steps as the video and only in the app. Tried to load banner and Interstitial Ads.

from hms-ads-demo-java.

Mike-mei avatar Mike-mei commented on June 12, 2024

It shows in your log: countryCode by ro.product.locale.region is:US, is your local area set to the US? The area should be set to other regions except for the US.
Method for setting regions in your phone: settings-> system -> language and input -> language and region -> region

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

Hello again.

I've gone into system > language and input > language. But I don't see anything related to changing the region. I can only change device language. My AppGallery region is set to Turkey.
Screenshot_20210806-100427

I've also used adb shell getprop to see it and as you've said it says it is the US.
image

But I don't know how to change it. I tried to change it with setprop but did not work.

from hms-ads-demo-java.

Mike-mei avatar Mike-mei commented on June 12, 2024

Click the language here then you can see the button to change region.
image

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

I've already checked that before sending it to you but only has an option to add a language. Currently UK is selected.
Screenshot_20210806-115800

The three dot on the top right corner only offers to "Remove Preferred Language" fyi

from hms-ads-demo-java.

sametguzeldev avatar sametguzeldev commented on June 12, 2024

Any updates on this ? 😄

from hms-ads-demo-java.

Mike-mei avatar Mike-mei commented on June 12, 2024

Please insert a SIM card (except US) into your phone and try again.

from hms-ads-demo-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.