Unity - A计划(永久有效期) 扫二维码继续学习 二维码时效为半小时

(207评价)
优惠后 ¥1899.00优惠前 ¥2499.00 双十一全年最大力度限时优惠
1对1 答疑即时回复7天无理由退款30天价保提问必答

服务保障

1对1 答疑

提供专属的一对一在线答疑,快速答疑解惑。

即时回复

及时响应学习咨询,帮助解决问题。

7天无理由退款

购买后7天内可申请无理由退款。

30天价保

购买后30天内如遇降价,可申请价保。

提问必答

对于提问做到有问必答,帮您扫清学习过程中的种种障碍

老师unity中调用android中方法,在打包时候回报警告,而且打包到手机上打不开
想看你笑发起了话题2017-07-18
11
回复
1021
浏览

No activity found in the manifest with action MAIN and category LAUNCHER.
Your application may not start correctly.

No activity with LEANBACK_LAUNCHER or LAUNCHER categories found.
The build may not be compatible with Android TV. Specify an activity with LEANBACK_LAUNCHER or LAUNCHER category in the manifest, or disable Android TV compatibility in Player Settings.

 

Unable to find unity activity in manifest. You need to make sure orientation attribute is set to fullSensor manually.

 

OBSOLETE - Providing Android resources in Assets/Plugins/Android/res is deprecated, please move your resources to an Android Library. See "Building Plugins for Android" section of the Manual.

所有回复
  • siki • 2017-07-18

    这个错误的关键地方在这里

    No activity found in the manifest with action MAIN and category LAUNCHER.

    就是你在android工程里面的menifest配置文件里面 定义了一个不存在的 

    还有-5条回复,点击查看
    你还没有登录,请先登录或注册!
  • 想看你笑 • 2017-07-18

    OBSOLETE - Providing Android resources in Assets/Plugins/Android/res is deprecated, please move your resources to an Android Library. See "Building Plugins for Android" section of the Manual.

    老师 现在只报这个了

    还有-5条回复,点击查看
    你还没有登录,请先登录或注册!
  • siki • 2017-07-18

    可以试下这个解决方案

    https://forum.unity3d.com/threads/obsolete-providing-android-resources-in-assets-plugins-android-res-is-deprecated.315889/

    You can create a new Android Library project that doesn't have any code in it.
    Add your version.xml file to this project (under the res/values folder) and then copy the library (the entire folder structure) under Assets/Plugins.

    新建一个android library工程,把该添加的添加上去,然后复制整个libray文件夹到 unity的 assets/plugins文件夹下

    还有-5条回复,点击查看
    你还没有登录,请先登录或注册!
  • 想看你笑 • 2017-07-18

    各种报错啊,受不了了

    还有-5条回复,点击查看
    你还没有登录,请先登录或注册!
  • 想看你笑 • 2017-07-18

    已经自己解决了老师,真的累,建议老师把以前的视频更新一下,要不里面好多现在都变了,像我们这种萌新真的懵圈

    • siki • 2017-07-18

      恩恩,你现在看的是哪个课程

      (0) 回复
    • 想看你笑 • 2017-07-18

      回复 @ siki: 看的是bmobpay支付这个教程

      (0) 回复
    • siki • 2017-07-19

      回复 @ 想看你笑: bmobpay这个支付我改天重录一下,现在bmob官网最新的androidsdk里面已经有了,支持unity工程的,直接使用它们提供的支持unity工程的插件就可以了,不用这么麻烦了

      (0) 回复
    • 想看你笑 • 2017-07-19

      回复 @ siki: 老师我现在做到支付这了,但是选择支付宝和微信支付都 没有反应,不知道什么原因,unity也没有报错,看了下官方文当,按着他的说明来 ,也没好使

      (0) 回复
    • siki • 2017-07-19

      回复 @ 想看你笑: 使用bmob官方最新的sdk

      (0) 回复
    • 想看你笑 • 2017-07-19

      回复 @ siki: 就是 使用官方的最新sdk

      (0) 回复
    还有1条回复,点击查看
    你还没有登录,请先登录或注册!
发表回复
你还没有登录,请先 登录或 注册!