導航:首頁 > 版本升級 > abimaps安卓版本

abimaps安卓版本

發布時間:2023-01-17 21:30:19

⑴ abimaps簽到偏差較大

莪可以解決任意位置簽到及修改位置的問題,還有現場拍照都可以解決,聯系莪用/戶/名。

⑵ 怎麼查看android abi架構

自動導入(推薦)在Mole的buid.gradle文件中添加依賴和屬性配置:android{defaultConfig{ndk{//設置支持的SO庫架構abiFilters'armeabi'//,'x86','armeabi-v7a','x86_64','arm64-v8a'}}}dependencies{compile'com.tencent.bugly:crashreport:latest.release'//其中latest.release指代最新版本號,也可以指定明確的版本號,例如1.2.8}

⑶ android gradle xml 配置文件的值嗎

include ':app2'
project(':app2').projectDir = new File('path/to/app2')12

Mole中的build.gradle
//設置腳本的運行環境
buildscript {
//支持java 依賴庫管理(maven/ivy),用於項目的依賴。
repositories {
mavenCentral()
}
//依賴包的定義。支持maven/ivy,遠程,本地庫,也支持單文件
dependencies {
classpath 'com.android.tools.build:gradle:0.4'
}
}
//聲明構建的項目類型,這里當然是android了
apply plugin: 'android'
//設置編譯android項目的參數
android {
compileSdkVersion 17
buildToolsVersion "17"

defaultConfig {
minSdkVersion 8
targetSdkVersion 17
}
//Android默認配置
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
java.srcDirs = ['src']
resources.srcDirs = ['src']
aidl.srcDirs = ['src']
renderscript.srcDirs = ['src']
res.srcDirs = ['res']
assets.srcDirs = ['assets']
}
//測試所在的路徑,這里假設是tests文件夾,沒有可以不寫這一行
instrumentTest.setRoot('tests')
}

//這個是解決lint報錯的代碼
lintOptions {
abortOnError false
}
/**
* 簽名設置
*/
signingConfigs {
myConfigs {
storeFile file("簽名文件地址")
keyAlias "..."
keyPassword "..."
storePassword "..."
}
}
/**
* 混淆設置
*/
buildTypes {
release {
signingConfig signingConfigs.myConfigs
runProguard true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
/**
* 渠道打包(不同包名)
*/
proctFlavors {
qqqq {
applicationId = '包名'
}
hhhhh {
applicationId='包名'
}
}
}
/**
* .so文件的導入
*/
task NativeLibs(type: Copy) {
from fileTree(dir: 'libs', include: 'armeabi/*.so') into 'build/lib'
}

tasks.withType(Compile) {
options.encoding = "UTF-8"
}

tasks.withType(Compile) {
compileTask -> compileTask.dependsOn NativeLibs
}
clean.dependsOn 'cleanCopyNativeLibs'
tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->
pkgTask.jniFolders = [new File(buildDir, 'lib')]
}
//依賴庫
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}

一些關鍵詞說明:
android用來指定Android打包插件的相關屬性,其包含如下節點
compileSdkVersion(apiLevel):設置編譯時用的Android版本
buildToolsVersion(buildToolsVersionName):設置編譯時使用的構建工具的版本
defaultConfig:設置一些默認屬性,其可用屬性是buildTypes和ProctFlavors之和
sourceSets:配置相關源文件的位置,當你的項目的目錄結構跟默認的有區別但又不想改的時候sourceSets就派上用場了
– aidl 設置aidi的目錄
– assets 設置assets資源目錄
– compileConfigurationName The name of the compile configuration for this source set.
– java Java源代碼目錄
– jni JNI代碼目錄
– jniLibs 已編譯好的JNI庫目錄
– manifest 指定清單文件
– name The name of this source set.
– packageConfigurationName The name of the runtime configuration for this source set.
– providedConfigurationName The name of the compiled-only configuration for this source set.
– renderscript Renderscript源代碼目錄
– res 資源目錄
– setRoot(path) 根目錄
signingConfigs:配置簽名信息
– keyAlias 簽名的別名
– keyPassword 密碼
– storeFile 簽名文件的路徑
– storePassword 簽名密碼
– storeType 類型
buildTypes:配置構建類型,可打出不同類型的包,默認有debug和release兩種,你還可以在增加N種
– applicationIdSuffix 修改applicationId,在默認applicationId的基礎上加後綴。在buildType中修改applicationId時只能加後綴,不能完全修改
– debuggable 設置是否生成debug版的APK
– jniDebuggable 設置生成的APK是否支持調試本地代碼
– minifyEnabled 設置是否執行混淆
– multiDexEnabled Whether Multi-Dex is enabled for this variant.
– renderscriptDebuggable 設置生成的APK是否支持調試RenderScript代碼
– renderscriptOptimLevel 設置RenderScript優化級別
– signingConfig 設置簽名信息
– versionNameSuffix 修改版本名稱,在默認版本名稱的基礎上加後綴。在buildType中修改版本名稱時只能加後綴,不能完全修改
– zipAlignEnabled 設置是否對APK包執行ZIP對齊優化
– proguardFile(proguardFile) 添加一個混淆文件
– proguardFiles(proguardFileArray) 添加多個混淆文件
– setProguardFiles(proguardFileIterable) 設置多個混淆文件
proctFlavors:配置不同風格的APP,在buildTypes的基礎上還可以讓每一個類型的APP擁有不同的風格,所以最終打出的APK的數量就是buildTypes乘以proctFlavors
– applicationId 設置應用ID
– multiDexEnabled Whether Multi-Dex is enabled for this variant.signingConfig Signing config used by this proct flavor.
– testApplicationId 設置測試時的應用ID
– testFunctionalTest See instrumentation.
– testHandleProfiling See instrumentation.
– testInstrumentationRunner Test instrumentation runner class name.
– versionCode 設置版本號
– versionName 設置版本名稱
– minSdkVersion(int minSdkVersion) 設置兼容的最小SDK版本
– minSdkVersion(String minSdkVersion) 設置兼容的最小版本
– proguardFile(proguardFile) 添加一個混淆文件
– proguardFiles(proguardFileArray) 添加多個混淆文件
– setProguardFiles(proguardFileIterable) 設置多個混淆文件
– targetSdkVersion(int targetSdkVersion) 設置目標SDK版本
– targetSdkVersion(String targetSdkVersion) 設置目標SDK版本
testOptions:設置測試相關屬性
– reportDir 設置測試報告的目錄
– resultsDir 設置測試結果的目錄
– aaptOptions:設置AAPT的屬性
– failOnMissingConfigEntry Forces aapt to return an error if it fails to find an entry for a configuration.
– ignoreAssets Pattern describing assets to be ignore.
– noCompress Extensions of files that will not be stored compressed in the APK.
– useNewCruncher Whether to use the new cruncher.
lintOptions:設置Lint的屬性
– abortOnError 設置是否在lint發生錯誤時終止構建
– absolutePaths Whether lint should display full paths in the error output. By default the paths are relative to the path lint was invoked from.
– check The exact set of issues to check, or null to run the issues that are enabled by default plus any issues enabled via LintOptions.getEnable() and without issues disabled via LintOptions.getDisable(). If non-null, callers are allowed to modify this collection.
– checkAllWarnings Returns whether lint should check all warnings, including those off by default.
– checkReleaseBuilds Returns whether lint should check for fatal errors ring release builds. Default is true. If issues with severity 「fatal」 are found, the release build is aborted.
– disable The set of issue id』s to suppress. Callers are allowed to modify this collection.
– enable The set of issue id』s to enable. Callers are allowed to modify this collection. To enable a given issue, add the issue ID to the returned set.
– explainIssues Returns whether lint should include explanations for issue errors. (Note that HTML and XML reports intentionally do this – – – unconditionally, ignoring this setting.)
– htmlOutput The optional path to where an HTML report should be written.
– htmlReport Whether we should write an HTML report. Default true. The location can be controlled by LintOptions.getHtmlOutput().
– ignoreWarnings Returns whether lint will only check for errors (ignoring warnings).
– lintConfig The default configuration file to use as a fallback.
– noLines Whether lint should include the source lines in the output where errors occurred (true by default).
– quiet Returns whether lint should be quiet (for example, not write informational messages such as paths to report files written).
– severityOverrides An optional map of severity overrides. The map maps from issue id』s to the corresponding severity to use, which must be – 「fatal」, 「error」, 「warning」, or 「ignore」.
– showAll Returns whether lint should include all output (e.g. include all alternate locations, not truncating long messages, etc.)
– textOutput The optional path to where a text report should be written. The special value 「stdout」 can be used to point to standard output.
– textReport Whether we should write an text report. Default false. The location can be controlled by LintOptions.getTextOutput().
– warningsAsErrors Returns whether lint should treat all warnings as errors.
– xmlOutput The optional path to where an XML report should be written.
– xmlReport Whether we should write an XML report. Default true. The location can be controlled by LintOptions.getXmlOutput().
– check(id) Adds the id to the set of issues to check.
– check(ids) Adds the ids to the set of issues to check.
– disable(id) Adds the id to the set of issues to enable.
– disable(ids) Adds the ids to the set of issues to enable.
– enable(id) Adds the id to the set of issues to enable.
– enable(ids) Adds the ids to the set of issues to enable.
– error(id) Adds a severity override for the given issues.
– error(ids) Adds a severity override for the given issues.
– fatal(id) Adds a severity override for the given issues.
– fatal(ids) Adds a severity override for the given issues.
– ignore(id) Adds a severity override for the given issues.
– ignore(ids) Adds a severity override for the given issues.
– warning(id) Adds a severity override for the given issues.
– warning(ids) Adds a severity override for the given issues.
dexOptions
– incremental Whether to enable the incremental mode for dx. This has many limitations and may not work. Use carefully.
– javaMaxHeapSize Sets the -JXmx* value when calling dx. Format should follow the 1024M pattern.
– jumboMode Enable jumbo mode in dx (–force-jumbo).
– preDexLibraries Whether to pre-dex libraries. This can improve incremental builds, but clean builds may be slower.
compileOptions:設置編譯的相關屬性
– sourceCompatibility Language level of the source code.
– targetCompatibility Version of the generated Java bytecode.
packagingOptions:設置APK包的相關屬性
– excludes The list of excluded paths.
– pickFirsts The list of paths where the first occurrence is packaged in the APK.
– exclude(path) Adds an excluded paths.
– pickFirst(path) Adds a firstPick path. First pick paths do get packaged in the APK, but only the first occurrence gets packaged.
– jacoco:設置JaCoCo的相關屬性
– version 設置JaCoCo的版本
splits:設置如何拆分APK(比如你想拆分成arm版和x86版)
– abi ABI settings.
– abiFilters The list of ABI filters used for multi-apk.
– density Density settings.
– densityFilters The list of Density filters used for multi-apk.
dependencies:配置依賴

⑷ 我幫同事用abi maps簽到可以嗎

你可以試試看啊
如果同事確實沒到
那麼不能代簽,那是違規

⑸ abi maps登陸不上去是怎麼回事

網站封了,或者你的網路有問題

⑹ 騰訊X5內核集成-解決遇到的問題(ABI平台匹配載入理解)

上周項目有需要,集成了「騰訊X5瀏覽器內核」過程中,也遇到了一些問題。經過摸索,也順帶補充解決了之前ABI方面的理解。

APP,內容模塊視頻部分,使用時夏正流行H5技術。

Html5的Video控制項播放視頻,在Android平台的WebView中播放的效果,和IOS播放效果有差異。IOS點擊視頻部分,會用系統自帶的瀏覽器全屏播放視頻,體驗效果佳;而Android的WebView無法全屏。至少體驗效果比IOS上的差一些。

①Html5頁面使用一些開源封裝過的Video,帶全屏等。

結果:產品部,認為體驗不佳。提出疑問:「為什麼在QQ上播放那麼好呢?」,這,畢竟我們是技術方, 也不好直接說「別人技術牛」。

②重寫WebChromeClient的onShowCustomView開啟全屏;onHideCustomView退出全屏。

結果:相信有朋友也折騰過這玩意,在Android 4.4開始的手機,大部分不會進入該回調方法。

③技術體驗上,不懂技術的同事等, 都是用QQ,微信舉例。那就使用騰訊X5內核吧。

①成功調用x5內核條件是安裝騰訊三個常見產品之一:1、手機QQ;2、微信;3、QQ瀏覽器。當然版本也有限制,到這里,我們至少知道,三者中一個,是很有可能成功的,只要版本不太低,至少身邊朋友的版本,都不至於太低了。

②第一次安裝集成該SDK的版本必須預熱(從SDK接入文檔中理解,理論上是, 大部分情況第一次是啟動失敗的,從試驗中,是kill了進程,再開啟才成功)。

③ABI只提供armeabi的.so

①導入相應的.jar,  .so 文件:

libs: tbs_sdk_v1.5.1.1057_25436_obfs_20160331_144900.jar

armeabi:liblbs.so

②預熱X5內核:

/**

* 開啟額外進程 服務 預載入X5內核, 此操作必須在主進程調起X5內核前進行,否則將不會實現預載入

*/

private voidpreinitX5WithService() {

Intent intent =newIntent(this,FirstLoadingX5Service.class);

startService(intent);

}

/**

* X5內核在使用preinit介面之後,對於首次安裝首次載入沒有效果

* 實際上,X5webview的preinit介面只是降低了webview的冷啟動時間;

* 因此,現階段要想做到首次安裝首次載入X5內核,必須要讓X5內核提前獲取到內核的載入條件

*/

private voidpreinitX5WebCore() {

if(!QbSdk.isTbsCoreInited()) {

// preinit只需要調用一次,如果已經完成了初始化,那麼就直接構造view

QbSdk.preInit(MainActivity.this, null);// 設置X5初始化完成的回調介面

}

}

③用多台手機測試:華為4A, 華為榮耀(忘記什麼型號,是64位CPU),google nenux4, 小米4C, 華為mate 7, 紅米Note2 等等。APP打包測試。

結果:只有我的華為4A能播放。 為什麼別的,就不正常呢?

------------------------------以下-解決篇--------------------------------

①CPU方面,華為4A是比較老的CPU, 估計就是armeabi的了,由於別的機型,我都有對應的abi目錄,都各自找到相應的平台目錄, 所以無法載入「liblbs.so」。

②嘗試將「liblbs.so」放在各個abi目錄中, 結果還是沒辦法啟動x5。

③通過網路,google等搜索,再次進行ABI方面的理解加深,獲取解決方案:

項目的「build.gradle」文件defaultConfig,增加配置

ndk {

abiFilters"armeabi","armeabi-v7a","x86","mips"

}

結果:確實解決了問題。

①難道是別的平台都指向了最低兼容的armeabi目錄? 噢,如果這樣做的話,在APP中性能會有極大的損失。如arm-v7中的  浮點運算,這就損失極大。更何況64位的CPU。

②難道是機器是智能化了?先找相應平台的.so, 不行,再逐個查看向下的兼容平台?如果是這樣,那就太好了。

③什麼優先順序呢?這個Android選取ABI的機制?我也想了解。 順帶這個問題一起學習。

①google一些資料,在overflow上,找到挺好的http://stackoverflow.com/questions/20674650/how-to-configure-ndk-with-android-gradle-plugin-0-7/21413011#21413011。

鬼老很務實, 他也有這種的疑問,從假象的提出,到論證,到結論。佩服。

文中的一些片段,我摘取一下:

To simply Link in Prebuilt Native Libraries, just add an ndk section to your task. For instance, I added it below in proctFlavors. The abiFilter is the folder name the libs are stored in. abiFilters means both libs from the comma separated list will be added to your final APK (so you could theoretically have "armeabi", "armeabi-v7a", "x86", and "mips" all in one APK, and the O/S would choose the supported architecture lib on install):

Very helpful. Thanks indeed. BTW, do you know the default search directory for user static libraries? I opt not to use the trick of "-I" in ldLibs, if possible. – weidongxu Apr 16 '14 at 20:10

how does one explore/download the files listed here?: docs.google.com/… – Cliff Apr 26 '14 at 17:47

Found the example download but now I'm facing another issue w/ Gradle 1.11. The generated Androud.mk file uses absolute paths: stackoverflow.com/questions/23344567/… – Cliff Apr 28 '14 at 16:09

Thanks for the ldlibs tricking - I just found out that ldlibs are not kept in the order you type them in, which makes using multiple static libraries just about completely unusable. Unless they're "one" argument, after which it works. Awesome! – dascandy Jan 1 '15 at 22:15

2

This is the most detailed step-by-step introction I've ever seen for ndk setup. Google should have hired you to rewrite all their documentations. – John Jul 15 '15 at 16:53

Thanks @John, nice of you to say. The closest interview to google I had was at Microsoft, but they told me I wasn't "the right fit for Microsoft" when I couldn't write a bubble sort algorithm on the board (who the frick would want to memorize that...). Actually, that was just 1 of 3 interviews, the other 2 offered me jobs, but I declined and started my own business. :) – reactive-core Oct 14 '15 at 18:49

@reactive-core, No wonder why Windows so fxxx up, they judge programmer by bubble sort algorithm! :) – John Oct 15 '15 at 7:17

add a comment

up vote

26

down vote

accepted

Found the answer. Including ndk.dir=path/to/ndk in the local.properties file did the trick.

Update: On the latest versions of Android Studio, you can set the value directly in the Project Structure > SDK location.

shareimprove this answer

edited Oct 8 '15 at 10:25

answered Dec 19 '13 at 7:13

user1906

1,1311920

Don't forget to accept your answer – orip Dec 23 '13 at 9:54

3

Is it a good idea to put something manually into the local.properties file, since it says "This file is automatically generated by Android Studio. Do not modify this file -- YOUR CHANGES WILL BE ERASED!" ?

從這對話中, 至少至少,都是能證明挺有料子的人。

OK,接下來,我也實驗。

②項目中,有用到,信鴿,地圖等一系列的.so文件。

我把armeabi的目錄,只剩下騰訊x5內核的"liblbs.so"文件。用除了我手裡的華為4A的,設備來安裝apk, 非armeabi基礎平台的設備,都能順利載入x5內核。這是其次,最重要的是 armeabi目錄刪除的所有.so包的,功能存在。

結論:手機讀取了對應手機平台的.so, 找不到"liblbs.so"的時候, 才去armeabi目錄,找它。這樣就很完美。符合提前提出的 疑問②。

①集成X5的APP, 第一次安裝,多數手機是載入X5內核失敗,取到sys core。

②back back 關閉應用,再打開仍然失敗。要按 任務,「劃掉「這個進程任務才成功。哎,這點,騰訊又不說,怎麼做了。

① 啟動 TBSDemo,等待幾秒鍾後看到提示框「x5內核安裝成功,是否重啟」,此時點擊「重啟」 . 這句話是引用騰訊X5內核SDK接入文檔(http://x5.tencent.com/doc?id=1003)

②重啟體驗不好吧,最後使用的方案是在 "關閉APP首頁",時候徹底關閉這個進程。

@Override

public voidonBackPressed() {

//是否新裝應用、或者剛更新到本次版本的應用

booleanisFist4Video = SharePreferenceUtil.getBooleanDataByKey(this,"isFist4Video", true);

if(isFist4Video){

SharePreferenceUtil.(this,"isFist4Video", false);

android.os.Process.killProcess(android.os.Process.myPid());

super.onBackPressed();

}

super.onBackPressed(); 

}

③上述雖然解決了,第一次安裝,不用關閉進程,而讓用戶back首頁關閉應用而殺進程。然而體驗並不是非常好。 (這玩意測試過,對是否有問題,沒有影響。只是第二次就好)

合作夥伴

微信,手機QQ,QQ空間,京東58,同城,搜狐視頻,新浪新聞

這些」合作夥伴「,別人都是安裝完,就正常使用的?如何做到呢?朋友們,一起討論哦。

⑺ 越獄機不能安裝abi maps嗎

MAPS是一套促銷員管理系統,簡稱MAPS。 SPR(促銷員)通過手機進行簽到和上報促銷銷量,對應主管PTL/PTA(促銷主管/促銷助理)可通過後台管理系統或手機查看促銷員考勤和銷量情況,監控並分配下屬SPR的工作。

⑻ 如何創建Android庫以及Android aar文件詳解

創建 Android 庫

Android 庫在結構上與 Android 應用模塊相同。它可以提供構建應用所需的一切內容,包括源代碼、資源文件和 Android 清單。不過,Android 庫將編譯到您可以用作 Android 應用模塊依賴項的 Android 歸檔 (AAR:Android Archive Resource) 文件,而不是在設備上運行的 APK。與 JAR 文件不同,AAR 文件可以包含 Android 資源和一個清單文件,這樣,除了 Java 類與方法外,您還可以捆綁布局和可繪制對象等共享資源。

庫模塊在以下情況下非常有用:

閱讀全文

與abimaps安卓版本相關的資料

熱點內容
軟體一點開文件就關閉 瀏覽:88
網路如何把人捧紅 瀏覽:961
軟體傳輸文件 瀏覽:184
密碼記錄器ios 瀏覽:412
兩個電腦數據怎麼一樣 瀏覽:829
順豐有什麼買東西的app 瀏覽:377
數位板word 瀏覽:939
win7寬頻連接出現多重網路 瀏覽:268
更改程序圖標c語言 瀏覽:629
網路電視偷停怎麼辦 瀏覽:418
linux連接ftp 瀏覽:512
es文件瀏覽器視頻筆記 瀏覽:874
mac無法打開描述文件 瀏覽:134
什麼軟體打文件 瀏覽:53
資料庫無數據變成0 瀏覽:899
名企筆試如何刷編程題 瀏覽:49
js跳到頁面某地 瀏覽:550
jsp展示clob欄位 瀏覽:779
nyx在網路上是什麼意思 瀏覽:145
樂播農業app是什麼 瀏覽:530

友情鏈接