草庐IT

super_package

全部标签

java - 将Android项目导入Eclipse后,Package Icons为 "white"

我刚刚将一个示例项目导入到Eclipse中,一些图标是白色的:这是什么意思,我该如何解决?更新: 最佳答案 事实证明,出于某种原因,我不得不将文件夹添加到项目中;为什么,我不知道。我所知道的是它奏效了。为此,您右键单击项目>构建路径>配置构建路径>源代码>添加文件夹>单击Gen&src 关于java-将Android项目导入Eclipse后,PackageIcons为"white",我们在StackOverflow上找到一个类似的问题: https://sta

android - Facebook SDK "Package bolts does not exist error"安卓工作室

我正在尝试使用this将Facebook登录添加到我的应用程序中方法但出现以下错误:Error:(21,13)error:packageboltsdoesnotexistError:(22,13)error:packageboltsdoesnotexistError:(23,13)error:packageboltsdoesnotexistError:(24,13)error:packageboltsdoesnotexistError:(37,49)error:cannotfindsymbolclassAppLinkResolverError:(48,32)error:cannotfi

android - Eclipse 选项不可用 : Android Tools > Export Unsigned Application Package

我已经创建了我的Google市场发布者私有(private)keystore。现在我想使用eclipse导出未签名的apk,但我找不到选项:导出未签名的应用程序包。我只能看到这个选项:导出Android应用程序,当我右键单击项目并单击导出时。如果我使用此选项,我将无法使用jarsigner,因为它会给出一个错误,指示apk已签名。我假设上面的导出选项正在导出一个(调试key)签名的apk而不是一个未签名的。请帮帮我! 最佳答案 右键单击项目->Android工具->导出未签名的应用程序包。顺便说一句,如果您想使用自签名证书/keys

java - Android - 无法解析以下类的父类(super class)型 - (Room Persistant Library,Android Library Module)

在我的Android项目(Kotlin)中,我想为我的数据层使用Room持久库。但是当我为RoomPersistent库添加依赖项时,构建项目突然开始失败。我收到的错误:这是我的项目级别build.gradle//Top-levelbuildfilewhereyoucanaddconfigurationoptionscommontoallsub-projects/modules.buildscript{ext{globalCompileSdkVersion=26globalMinSdkVersion=19globalTargetSdkVersion=26kotlin_version='

android - RecognizerIntent 不工作; "missing extra calling_package"

我在Android2.2上使用RecognizerIntentAPI时遇到问题。当我使用此代码调用API时:Intentintent=newIntent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL,RecognizerIntent.LANGUAGE_MODEL_WEB_SEARCH);startActivityForResult(intent,REQUEST_CODE_VOICE_SEARCH);看起来应该可以,搜索弹出窗口在设备上显示“未

androidx 数据绑定(bind)错误 : package android. support.constraint 不存在

我刚刚学习数据绑定(bind),并尝试使用新的库结构作为androidx。当我尝试构建项目时,我遇到了这个错误。error:packageandroid.support.constraintdoesnotexist这个错误在Binding生成的文件中为publicclassActivityMainBindingImplextendsActivityMainBinding{@Nullableprivatestaticfinalandroidx.databinding.ViewDataBinding.IncludedLayoutssIncludes;@Nullableprivatestat

android - 如何接收 Intent。 ACTION_PACKAGE_ADDED Intent 。应用小部件中的 ACTION_PACKAGE_REMOVED?

如何在appwidget中接收Intent.ACTION_PACKAGE_ADDED和Intent.ACTION_PACKAGE_REMOVED?我尝试在list中添加intent-filter:我也试过在代码中注册:@OverridepublicvoidonEnabled(Contextcontext){registerReceiver(context);Utils.log(TAG,"RegisterPACKAGE_ADDEDPACKAGE_REMOVED");}privatevoidregisterReceiver(Contextcontext){IntentFilterfilte

java - 在 AsyncTask 中覆盖执行前/后执行并调用 super.onPre/PostExecute

在AsyncTask中覆盖onPreExecute时是否必须调用super.onPreExecute?AsyncTask.onPreExecute和其他方法实际上做了什么?onPostExecute和onCancelled的相同问题publicclassMyAsyncTaskextendsAsyncTask{@OverrideprotectedvoidonCancelled(Booleanresult){super.onCancelled(result);// 最佳答案 不,你不需要调用super。这是source.如您所见,默认实

android - 错误 : duplicate files during packaging of APK

我尝试在AndroidStudio上运行androideclipse。我在互联网上尝试了很多解决方案。但是错误还是发生了Error:duplicatefilesduringpackagingofAPK/home/sam/pst-adnew/panstage/build/outputs/apk/panstage-debug-unaligned.apk Pathinarchive:lib/armeabi-v7a/libmp3lame.so Origin1:/home/sam/pst-adnew/panstage/build/intermediates/exploded-aar/pst-ad

android - 适配器类中的 super.onActivityResult?安卓

我的RecyclerView包含非常复杂的项目、多个按钮/图像/文本。为了访问每个按钮/图像,我在适配器类中设置了点击监听器。但是现在我正在尝试添加设置联系人铃声的功能,但我遇到了问题。我这样调用onActivityResult方法:IntentcontactIntent=newIntent(Intent.ACTION_PICK);contactIntent.setType(ContactsContract.Contacts.CONTENT_TYPE);contactIntent.putExtra("ITEM_POSITION",position);((Activity)context