草庐IT

support-v4

全部标签

android - 程序类型已经存在 : android. support.constraint.BuildConfig

build.gradle(模块:应用)applyplugin:'com.android.application'android{compileSdkVersion'android-P'buildToolsVersion'27.0.3'defaultConfig{multiDexEnabledtrueapplicationId"tk.megh.myapplication"minSdkVersion'P'targetSdkVersion'P'versionCode1versionName"1.0"testInstrumentationRunner"android.support.test.

Android SIP API : Shows supported, 但错误 'not supported'

我有一个正在尝试构建的快速示例应用程序,用于演示与Nexus7之间的简单SIP调用。该设备当前运行的是Android4.2.1。LogCat显示错误:不支持SipBroadcastRequest/SIPVOIP:com.android.phone.SIP_REMOVE_PHONE我从API文档(和代码)中看到,如果SipManager.isApiSupported(Contextcontext)返回false,就会发生这种情况。为了好的措施,我检查了两个:SipManager.isVoipSupported(this);SipManager.isApiSupported(this);并

android - 在 travis support-v4 21.0 上找不到 android.support.v4.widget.DrawerLayoutImpl 的类文件

我们正在尝试在travisCI上运行测试。我们有一个使用android.support.v4.widget.DrawerLayout的类。当我们使用android支持v4库时build.gradle->targetSdkVersion:19`compile'com.android.support:support-v4:20.0.0'`.travis.yml-build-tools-19.1.0-android-19-extra-android-support-extra-google-google_play_services-extra-google-m2repository我们没有得

android - 致命异常 : java. lang.NoClassDefFoundError : android. support.v7.app.AppCompatDelegateImplV23

在我的最新版本中,一些用户(不到0.2%)遇到崩溃,因为找不到android.support.v7.app.AppCompatDelegateImplV23。我无法重现该问题,我只收到有关crashlytics的报告。我已经使用apktool从我的apk中提取文件,我可以在其中看到AppCompatDelegateImplV23.smali。知道会发生什么吗?这是我在gradle上的编译行:compile'com.android.support:appcompat-v7:23+'这是异常(exception)情况:FatalException:java.lang.NoClassDefF

android - 找不到 com.android.support :support-v4:22. 0.0。 SDK更新后

更新sdk后我无法创建helloworld应用程序。我的build.gradle看起来像这样applyplugin:'com.android.application'android{compileSdkVersion22buildToolsVersion"22.0.1"defaultConfig{applicationId"com.coders.yo"minSdkVersion11targetSdkVersion22versionCode1versionName"1.0"}buildTypes{release{runProguardfalseproguardFilesgetDefaul

android - 使用支持库 v4 修订版 11 的嵌套 fragment

今天早上支持库的最后一次修订(AndroidSupportPackagev4revision11)应该支持嵌套fragment。在我的项目中,我有一个包含ViewPager的fragment这个ViewPager包含几个fragment。我正在调用getSupportFragmentManager()而不是getFragmentManager来使用FragmentManager支持库。问题是我仍然遇到像这样的崩溃:java.lang.IllegalStateException:RecursiveentrytoexecutePendingTransactionsatandroid.sup

android - 透明 WebView 不适用于 Android v4.0

这里是这个问题的一些背景。它涉及解决Android中WebView背景需要透明的已知错误。AndroidWebViewstylebackground-color:transparentignoredonandroid2.2它涉及到一个WebView,托管一个透明背景的HTML文档,因此WebView是透明的,HTML文档可以叠加到其他View上。将以下方法添加到WebView子类并从构造函数调用它适用于Androidv2、v3和v4,除非WebView的像素高度大于屏幕像素高度(例如WebView是在ScrollView中,比屏幕长)。protectedvoidsetBackgroun

安卓:找不到 com.android.support:support-v4:23.2.1

我将这个库添加到我的gradle文件中:compile'com.appeaser.sublimepickerlibrary:sublimepickerlibrary:2.0.0'我已经有了这些依赖项:dependencies{compilefileTree(dir:'libs',include:['*.jar'])compile"com.android.support:design:23.+"compile'com.android.support:support-v4:23.+'compile'com.android.support:support-v13:23.+'compile'c

windows10 17272:error:25078067:DSO support routines:win32_load:could not load the shared library

1.执行加密命令opensslreq-new-nodes-keyserver.key-outserver.csr-days3650-config./openssl.cnf-extensionsv3_req2.返回错误提示17272:error:25078067:DSOsupportroutines:win32_load:couldnotloadthesharedlibrary:../openssl-1.1.1l/crypto/dso/dso_win32.c:108:filename(providers.dll)17272:error:25070067:DSOsupportroutines:DS

android - 更改为最新的 Multidex 后无法解决导入 android.support.multidex.MultiDex

我想在我的应用程序中使用multidex,起初我使用depedencies:'com.google.android:multidex:0.1',但是编译后出现这个错误:Error:Executionfailedfortask':packageAllDebugClassesForMultiDex'.java.util.zip.ZipException:duplicateentry:android/support/multidex/BuildConfig.class然后我将'com.google.android:multidex:0.1'更改为'com.android.support:mu