简体   繁体   中英

Test device using startApp

I am testing startApp for the first time and walking through the documentation I didn't find any method to add a test device like what I usually do using admob . I am developing for android .

使用StartApp时无需添加测试设备。

See in your LogCat , the Device Id is specified when you run the app:

在此处输入图片说明

then add the value:

AdRequest adRequest = new AdRequest.Builder() 
        .addTestDevice(AdRequest.DEVICE_ID_EMULATOR)
        .addTestDevice("4E7XXXXXXXXXXXXXXXXXXXXXXXXX776")
        .build();

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM