1)配置

1.打开游戏应用模块的 build.gradle 文件,配置aihelp的信息,添加如下内容块:

android{
   ....
   defaultConfig {
       .....
        resValue "string", "r2aihelp_app_key"                 ,"R2GAMES_app_5518756774984196b710a793bf4c061d"
        resValue "string", "r2aihelp_app_id"                 ,"r2games_platform_455ee6b95d0412fc1a969a6a4daa86f0"
        resValue "string", "r2aihelp_domain"                 ,"r2games.aihelp.net"
       .......
   }

  .....


}

2.添加aihelp的依赖:

 // AIHelp
 implementation 'net.aihelp:android-aihelp-aar:2.8.+'

Last updated

Was this helpful?