草庐IT

packages

全部标签

conda创建环境在Collecting package metadata (current_repodata.json)时报错的解决

conda创建环境在Collectingpackagemetadata(current_repodata.json)时报错的解决报错信息:Collectingpackagemetadata(current_repodata.json):-ERRORconda.auxlib.logz:stringify(171):Traceback(mostrecentcalllast):File“C:\Users\dandelion\anaconda3\lib\site-packages\conda\auxlib\logz.py”,line165,instringifyrequests_models_Resp

Netbeans 6.9.1 上的安卓系统 : Package name not valid

我是Android开发新手。实际上,我还没有开始,因为在Netbeans6.9.1中尝试创建新项目时总是出现错误:“包名称无效”。我已经安装了AndroidSDK(路径在NB中设置)并且平台可用。有谁知道我做错了什么或如何解决我的问题。我想尽快开始。真诚的 最佳答案 要创建包,请使用点而不是空格,例如:android.bug不是androidbug 关于Netbeans6.9.1上的安卓系统:Packagenamenotvalid,我们在StackOverflow上找到一个类似的问题:

使用opencv时,cmake 编译,CMake Error at CMakeLists.txt:15 (find_package): 报错问题解决

cmake时,报错CMakeErroratCMakeLists.txt:15(find_package): Bynotproviding"FindOpenCV.cmake"inCMAKE_MODULE_PATHthisprojecthas askedCMaketofindapackageconfigurationfileprovidedby"OpenCV",but CMakedidnotfindone. Couldnotfindapackageconfigurationfileprovidedby"OpenCV"withany ofthefollowingnames:  OpenCVConfi

Failed to install the following Android SDK packages as some licences have not been accepted. bu

报错信息Android开发者工具、Android开发者构建工具28.0.3、Android开发者平台28的协议都没有被接受。FailedtoinstallthefollowingAndroidSDKpackagesassomelicenceshavenotbeenaccepted.build-tools;28.0.3AndroidSDKBuild-Tools28.0.3toolsAndroidSDKToolsplatforms;android-28AndroidSDKPlatform28Tobuildthisproject,accepttheSDKlicenseagreementsandins

java - 将 roboelectric 与带有 gradle 的 android studio 集成总是会出现 package org.junit does not exist 错误

我正在尝试将roboelectric集成到我的新项目中。我使用以下链接来理解和实现roboelectrichttp://pivotallabs.com/setting-up-robolectric-in-android-studio-1-1-on-os-x/http://nenick-android.blogspot.in/2015/02/android-studio-110-beta-4-and.htmlhttp://raptordigital.blogspot.in/2014/02/test-driven-development-with.html但是我在运行我的测试类时遇到了以下

Android:从未收到广播 ACTION_MY_PACKAGE_REPLACED

我的应用程序运行的服务在设备重启或应用程序重新安装(更新)时终止。我添加了两个广播接收器来捕获这些事件-BOOT_COMPLETED和ACTION_MY_PACKAGE_REPLACED。ACTION_MY_PACKAGE_REPLACED接收器似乎不起作用。这是我拥有的:AndroidManifest.xml:重启接收器:publicclassRebootReceiverextendsBroadcastReceiver{@OverridepublicvoidonReceive(Contextcontext,Intentintent){Logg.d("Rebootcompleted.R

android - 错误 : package com. google.android.gcm 不存在 - 迁移到 Gradle 后

我有一个旧项目的问题,该项目是在没有Gradle的情况下在IntelliJ中开发的。我想将它迁移到AndroidStudio和Gradle,但是我遇到了很多问题。由于该项目很老,因此使用了旧的GooglePlay服务版本。在Intellij中,我刚刚将旧gps的libproject添加到依赖项(google_play_services_5089000_r19)并且一切正常。在AndroidStudio中,我设法通过将其添加为库模块并将compileproject(':segmentedradios')添加为gradle依赖项来添加其他库,但我无法使gps库工作。我试图将其添加为模块,但

android - W/ResourceType(463) : Failure getting entry in package 0 (error -75) in Android Activity

在我的Android应用程序的一个Activity(顺便说一句,它是一个SherlockActivity)中,我有一个普通的ListView。对于那个ListView,我通过getListView().setOnItemClickListener(...)设置了一个AdapterView.OnItemClickListener。在该监听器中,使用AlertDialog.Builder类构建了一个AlertDialog,然后将其显示给用户:getListView().setOnItemClickListener(newAdapterView.OnItemClickListener(){p

android - FCM - 如何修复 android.app.RemoteServiceException : Bad notification posted from package Couldn't expand RemoteViews for: StatusBarNotification

我看到数千份与通知相关的崩溃报告,但没有可行的方法来调试或检查Firebase云消息传递中通知的应用代码FatalException:android.app.RemoteServiceException:Badnotificationpostedfrompackagecom.appbootup.ipo.news:Couldn'texpandRemoteViewsfor:StatusBarNotification(pkg=com.appbootup.ipo.newsuser=UserHandle{0}id=2tag=IPO-SMEscore=10:Notification(pri=1co

android - 如何在没有手机应用程序的情况下构建 Android?

我正在尝试让android在gumstixovero上运行系统。因为我不打算将最终的“产品”用作电话,所以我问自己是否可以从内核构建过程中排除电话/拨号应用程序之类的应用程序(可能是任何配置参数?) 最佳答案 只需删除(或评论)这些行:(以及其他需要的)来自平台list(default.xml):https://android.googlesource.com/platform/manifest/+/master/default.xml 关于android-如何在没有手机应用程序的情况下