关于Android Studio2.0 集成 百度云push的问题,导入so包还能怎么导入

问题描述

关于Android Studio2.0 集成 百度云push的问题,导入so包还能怎么导入

Eclipse 可以推送 ,在AndroidStudio上集成的问题 估计是so包导入的不对 ,但是网上说的方法 新建jniLisb我试了 ,复制到libs,在android节点加gradle语句我也试了 都不行,请大神帮我看看啊 哪集成的问题

下面是部分报错
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.a.a.e) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.a) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.aa) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.ab) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.a.b.d) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.aj) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.a.b.e) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.ac) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.ad) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.ae) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.af) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(com.baidu.android.pushservice.ag) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a
Error:compiler that did not target the modern .class file format. The recommended
Error:solution is to recompile the class from source, using an up-to-date compiler
Error:and without specifying any "-target" type options. The consequence of ignoring
Error:this warning is that reflective operations on this class will incorrectly
Error:indicate that it is not an inner class.

解决方案


这个是我的项目结构

解决方案二:

Android Studio中so包的导入
android studio导入so包
Android实战技巧之十二:Android Studio导入第三方类库、jar包和so库

解决方案三:

右键jar =》 add library

解决方案四:

贴上我的bulid,gradle文件

android {
compileSdkVersion 23
buildToolsVersion "23.0.3"

defaultConfig {
    applicationId "com.soft.android"
    minSdkVersion 10
    targetSdkVersion 23
    versionCode 1
    versionName "1.0"
}
buildTypes {
    release {
        minifyEnabled false
        proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
    }
}

}

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile files('libs/pushservice-4.6.2.39.jar')
}

时间: 2024-08-30 17:46:02

关于Android Studio2.0 集成 百度云push的问题,导入so包还能怎么导入的相关文章

android studio2.0安装问题

问题描述 android studio2.0安装问题 为什么在安装的时候第一次已经指定了sdk的安装路径了,但是在安装完以后,启动以后还是会再次的指定一下sdk路径,然后重新下载了,这是为什么,以前不是这样的啊,而且如果指定成以前的路径的话,会提示只安装过时的sdk之类的,大家都没有遇到这样的问题或者能够解释这个问题的吗? 解决方案 studio 2.0 解压就可以啦 https://dl.google.com/dl/android/studio/ide-zips/2.0.0.0/android

avd空白-我新装的Android Studio2.0中为何模拟器中是空白?求解决。

问题描述 我新装的Android Studio2.0中为何模拟器中是空白?求解决. 希望给出明确解释,并流图说明! 我完全新装的从Android官网下载的... 解决方案 Android Studio 2.0新模拟器尝鲜Android模拟器2.0初探 解决方案二: http://www.oschina.net/question/2471276_2134084 解决方案三: 是不是没有镜像文件啊 解决方案四: 要先创建 下载系统 解决方案五: 需要吗?我有,要的话回我

Android通过php连接百度云数据库

要用php对百度云数据库进行操作的话,都要先通过php文件连接到百度云,连接云数据库的php文件名是conn,内容如下: <?php //echo "这是php数据库访问层!"; $dbhost = "sqld.duapp.com:4050"; $dbuser = ""; //我的用户名 $dbpass = ""; //我的密码 $dbname = ""; //我的mysql库名 $cn = mysq

Google Babble通讯平台曝光Android 5.0集成

&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp;   [ 科技讯]4月4日消息,Google近期动作频频,继正式进入笔记本电脑市场,推出Google Keep服务后,近来传的沸沸扬扬的莫过 于是将整合旗下通讯服务,推出Google Babble通讯平台.       近日网上 曝光了一张来自Google内部的应用截图,据传是Google将推出的最新服务Google Babble,且已被内部员工证实,该服务将会整合进

Android Studio应用开发集成百度语音合成使用方法实例讲解_Android

首先,语音合成是指将文本信息转换成声音.意思就是将文本转化为声音,让你的应用开口说话.国内在业内比较有名的第三方语音合成平台有百度语音和科大讯飞. 本文集成的是百度语音合成,其主要特点是: 完全永久免费 业界首创完全永久免费新形式,为开发者提供最流畅最自然的语音合成服务.完全免费,永久使用,彻底摆脱限制. 离线在线融合模式 SDK可以根据当前网络状况,自动判断使用本地引擎还是云端引擎进行语音合成,再也不用担心流量消耗! 多语言多音色可选 中文普通话.中英文混读.男声.女声任你选,更支持语速.音调

Android Studio应用开发集成百度语音合成使用方法实例讲解

首先,语音合成是指将文本信息转换成声音.意思就是将文本转化为声音,让你的应用开口说话.国内在业内比较有名的第三方语音合成平台有百度语音和科大讯飞. 本文集成的是百度语音合成,其主要特点是: 完全永久免费 业界首创完全永久免费新形式,为开发者提供最流畅最自然的语音合成服务.完全免费,永久使用,彻底摆脱限制. 离线在线融合模式 SDK可以根据当前网络状况,自动判断使用本地引擎还是云端引擎进行语音合成,再也不用担心流量消耗! 多语言多音色可选 中文普通话.中英文混读.男声.女声任你选,更支持语速.音调

Android版百度云推送平台正式发布 为用户体验而生

&http://www.aliyun.com/zixun/aggregation/37954.html">nbsp;   近日,百度对外正式发布Android版百度云推送平台.百度云推送可谓为用户体验而生,它实现了多项创新,并通过百度各大产品线千万级连接的可用性测试,迅速成为国内第三方云推送平台的标杆.(百度云推送平台地址:http://developer.baidu.com/push/list).此次Android版的率先发布为开发者带来了更加实用.稳定性的云推送服务. (And

android studio-Android studio2.0运行时报错

问题描述 Android studio2.0运行时报错 编译没有错,运行会报错 Error:Execution failed for task ':wocao:transformClassesWithDexForDebug'. com.android.build.api.transform.TransformException: java.lang.RuntimeException: com.android.ide.common.process.ProcessException: java.ut

gradle-android studio2.0 更新问题

问题描述 android studio2.0 更新问题 我的版本是 2.0 PreView5 现在更新时候下载完增量包 出现 conflicts 截图如下 请问如何解决? 解决方案 www.androiddevtool.cn