以下是应用首次安装时的日志:
05-12 13:16:23.632 28250-28250/com.app.projectName W/System:ClassLoader引用未知路径:/data/app/com.app.projectName-1/lib/arm 05-12 13:16:59.041 28250-28250/com.app.projectName W/System:ClassLoader引用未知路径:/data/app/com.app.projectName-1/lib/arm 05-12 13:16:59.073 28250-28250/com.app. projectName I/MultiDex:版本2.1.0的VM具有multidex支持05-12 13:16:59.073 28250-28250/com.app.projectName I/MultiDex:install 05-12 13:16:59.073 28250-28250/com. app.projectName I/MultiDex:VM具有multidex支持,MultiDex支持库被禁用.
我MultiDex在我的项目中使用库它将完全在棒棒糖前设备下工作.这种延迟在Lollipop设备中在第一次应用启动时在30秒到90秒之间变化.
看它不是由于MultiDex对吗?因为时间是1.)初始化05-12 13:16:23.632,第二次登录是在36秒之后,即05-12 13:16:59.041
那个东西创建ClassLoader引用的app延迟.... MultiDex正在快速初始化.以下是截图
这需要15秒到30秒,有时甚至更长.
我的Gradle文件是:
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.4.0'
compile 'com.android.support:cardview-v7:23.4.0'
compile 'com.android.support:support-v4:23.4.0'
compile 'com.android.support:design:23.4.0'
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.squareup.picasso:picasso:2.3.2'
compile 'com.bignerdranch.android:expandablerecyclerview:2.1.1'
compile 'com.github.siyamed:android-shape-imageview:0.9.+@aar'
compile 'org.apache.httpcomponents:httpcore:4.2.4'
compile 'org.apache.httpcomponents:httpmime:4.3'
compile 'com.google.code.gson:gson:2.5'
compile 'com.squareup.retrofit2:retrofit:2.0.0-beta4'
compile 'com.squareup.retrofit2:converter-gson:2.0.0-beta4'
compile 'com.squareup.okhttp3:logging-interceptor:3.1.2'
compile 'co.lujun:androidtagview:1.0.2'
compile …Run Code Online (Sandbox Code Playgroud) 我在Gradle文件中添加Firebse远程配置SDK时出现以下错误
compile 'com.google.firebase:firebase-config:9.2.1'
Run Code Online (Sandbox Code Playgroud)
它将显示错误错误:(25,13)无法解决:com.google.firebase:firebase-config:9.2.1
在"项目结构"对话框的" 文件显示"中显示
Gradle文件:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "24.0.0"
defaultConfig {
applicationId "com.bazingalabs.firebaseremoteconfig"
minSdkVersion 15
targetSdkVersion 24
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:24.0.0'
compile 'com.google.firebase:firebase-config:9.2.1'
}
apply plugin: 'com.google.gms.google-services'
Run Code Online (Sandbox Code Playgroud)
我正在尝试将PlaceAutoComplete Intent的操作栏的textColor和箭头颜色更改为白色而不是黑色。
style.xml
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
<!-- Customize your theme here. -->
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorPrimary</item>
<item name="android:windowContentOverlay">@null</item>
<item name="colorControlNormal">@color/white</item>
</style>
Run Code Online (Sandbox Code Playgroud)
意图调用是通过FullScreen进行的,代码是:
try {
Intent intent = new PlaceAutocomplete.IntentBuilder(PlaceAutocomplete.MODE_FULLSCREEN) .build(BaseActivity.this);
startActivityForResult(intent, PLACE_AUTOCOMPLETE_REQUEST_CODE);
dialog.dismiss();
} catch (GooglePlayServicesRepairableException e) {
// TODO: Handle the error.
} catch (GooglePlayServicesNotAvailableException e) {
// TODO: Handle the error.
}catch (Exception e){
e.printStackTrace();
}
Run Code Online (Sandbox Code Playgroud)
我想将浮动操作按钮阴影颜色从黑色/灰色更改为阴影的主色/自定义颜色**阴影示例,如下图所示,**中心蓝色 FAB 按钮带有浅蓝色阴影而不是灰色阴影。但我们可以改变FAB按钮的背景颜色。但正如您在图像中看到的,FAB 按钮有蓝色阴影。我想实现这一目标。
我使用 Firebase 控制台创建了动态链接。但是没有删除或删除或编辑选项的选项。
我想从控制台删除动态链接。任何帮助表示赞赏。