我在我的根目录中使用了Proguard的自定义文件.
文件名:
cus-proguard-android.txt
Run Code Online (Sandbox Code Playgroud)
我刚从中复制了默认文件
Users/developers/Library/Android/sdk/tools/proguard/
Run Code Online (Sandbox Code Playgroud)
gradle.build文件:
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.21.5'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
android {
compileSdkVersion 23
buildToolsVersion "23.0.3"
defaultConfig {
applicationId "com.cus.main"
minSdkVersion 15
targetSdkVersion 23
versionCode 18
versionName "v0.9.4"
multiDexEnabled true
}
dataBinding {
enabled = true
}
dexOptions {
javaMaxHeapSize "4g"
incremental true
}
buildTypes {
release {
debuggable false
shrinkResources false
minifyEnabled true
proguardFile 'cus-proguard-android.txt'
proguardFile 'proguard-rules.pro'
buildConfigField "String", "HOST", "$host_release" …Run Code Online (Sandbox Code Playgroud) 我正在开发一个需要与Twitter集成的应用程序,而不是内置Twitter.framework允许的内容.
Twitter发布他们的API,使用Fabric.app它们很难升级框架.
我想只包括Fabric.app将包含在我的项目中的框架,并跳过他们使用"简单集成解决方案"创建的所有设置麻烦.做什么?
我已经为我的公司接管了一个iOS swift应用程序,并在Xcode中打开了它.Fabric和Crashlytics由可可豆荚安装.Fabric框架列在Pods下,我已按照这些说明安装和配置Crashlytics,并且已将运行脚本添加到项目目标中.
https://fabric.io/kits/ios/crashlytics/install
API已经输入到info.plist中.
我可以构建并运行项目并打开模拟器并向我展示项目.
然后我尝试按照下面的说明分发项目进行测试.第一条指令是"确保Fabric插件正在运行",但我不知道该怎么做.接下来,我使用Project - > Archive成功构建存档,弹出一个存档管理器,但不弹出Fabric弹出窗口.我试过重新启动我的Mac和Xcode但无济于事.菜单栏等中没有任何内容表示Fabric存在于项目导航器中的文件之外.
我已将 crashlytics 与 pod 集成。我曾经用 Testflight 测试应用程序。我注意到在 iTunes 连接上几乎没有崩溃,但没有收到来自 fabric/crashlytics 的任何电子邮件。
我像 exit(1) 一样手动尝试应用程序崩溃,并且在应用程序下次启动时收到了一封电子邮件。所以假设 crashlytics 框架集成成功。
你有什么建议我想看的地方吗?
对于样品data.frame:
df <- structure(list(region = structure(c(1L, 1L, 1L, 1L, 1L, 2L, 2L,
2L, 2L, 2L, 2L), .Label = c("a", "b", "c", "d"), class = "factor"),
result = c(0L, 1L, 1L, 0L, 0L, 1L, 0L, 0L, 0L, 1L, 0L), weight = c(0.126,
0.5, 0.8, 1.5, 5.3, 2.2, 3.2, 1.1, 0.1, 1.3, 2.5)), .Names = c("region",
"result", "weight"), row.names = c(NA, 11L), class = "data.frame")
df$region <- factor(df$region)
result <- xtabs(weight ~ region + result, data=df)
result
Run Code Online (Sandbox Code Playgroud)
我将如何更改xtab(我不想切换我之前问过的轴)的顺序?例如,确保 …