草庐IT

place_name

全部标签

android - 在android中使用google places api时报错 "Status{statusCode=PLACES_API_INVALID_APP, resolution=null}"

我在我的Android应用程序中使用谷歌地图,map已成功加载到我的应用程序中。我使用以下代码在我的应用程序中初始化谷歌地图:mGoogleApiClient=newGoogleApiClient.Builder(this).addConnectionCallbacks(this).addOnConnectionFailedListener(this).addApi(Places.GEO_DATA_API).addApi(Places.PLACE_DETECTION_API).addApi(LocationServices.API).enableAutoManage(this,this

yolov8运行出错及解决,No module named ‘ultralytics‘和ImportError: Failed to initialize: Bad git executable

成功解决Nomodulenamed'ultralytics’和Failedtoinitialize:Badgitexecutable的问题,以此记录和分享。问题:ModuleNotFoundError:Nomodulenamed'ultralytics'解决:在文件开头开间绝对路径,即ultralytics文件夹所在的文件夹路径。问题:ImportError:Failedtoinitialize:Badgitexecutable.Thegitexecutablemustbespecifiedinoneofthefollowingways:-beincludedinyour$PATH-beset

android - ionic 3 : more than one library with package name 'com.google.android.gms.license'

这个问题在这里已经有了答案:Error:morethanonelibrarywithpackagenamecom.google.android.gms.license(15个答案)关闭4年前。我有这个错误:Executionfailedfortask':processDebugResources'.Error:morethanonelibrarywithpackagename'com.google.android.gms.license'当我跑完ioniccordovarunandroid这是ionic信息:clipackages:(AppData\Roaming\npm\node_m

android - 在项目 'Android Package Builder' 上运行生成器 'HelloAndroid' 时出错。 sun/security/x509/X500Name

我刚刚安装了Eclipse-Classic3.7.2和androidSDK。还使用ADT插件安装/配置了eclipse。现在在执行了http://developer.android.com/resources/tutorials/hello-world.html中的步骤之后为了创建“HelloWorld”应用程序,我尝试在Android模拟器中运行该应用程序。但这是抛出一个错误Errorsoccurredduringthebuild.Errorsrunningbuilder'AndroidPackageBuilder'onproject'HelloAndroid'.sun/securi

android - 错误 : No resource found that matches the given name

在此文件中是我的布局,此代码中显示以下错误error:Error:Noresourcefoundthatmatchesthegivenname(at'id'withvalue'@id/question_text_view').error:Error:Noresourcefoundthatmatchesthegivenname(at'id'withvalue'@id/next_button').这是布局文件这是我的strings.xmlGeoQuizTrueFalseCorrectNextIncorrectSettingsFrankReedHortonFoundedAPOondecemb

Android Places Autocomplete 设置经纬度范围

我正在使用GoogleplacesAutocompleteAPI。我的应用程序有一个自动完成TextView。一切正常,因为我遵循示例here.唯一的问题是我将LatLng范围设置为山景城的范围。privatestaticfinalLatLngBoundsBOUNDS_MOUNTAIN_VIEW=newLatLngBounds(newLatLng(37.398160,-122.180831),newLatLng(37.430610,-121.972090));我的GoogleApiClientmGoogleApiClient=newGoogleApiClient.Builder(thi

java - MissingResourceException : Can't find bundle for base name sun. util.logging.resources.logging,语言环境 en_US

我得到了,Causedbyjava.lang.InternalError:java.util.MissingResourceException:Can'tfindbundleforbasenamesun.util.logging.resources.logging,localeen_US在我的来自firebase崩溃报告的应用程序中。其他细节Manufacturer:HTCModel:HTC10AndroidAPI:24这是堆栈跟踪java.util.logging.Logger$1.run(Logger.java:1385)java.util.logging.Logger$1.run

android - res-auto 和 com.package.name 之间命名 xml 的区别 - android

我见过自定义xml:和这两个不同的名字有什么区别?后者是否仅指向默认位置,如您的包裹?前者是否指向引用库?谢谢。 最佳答案 如果我们在项目中添加一个新的自定义View及其属性,您可以在布局的开头添加它:xmlns:custom="http://schemas.android.com/apk/res/your_main_app_package如果新的自定义View在链接到您的项目的库项目中,则添加:xmlns:custom="http://schemas.android.com/apk/res-auto注意:此问题已在ADT修订版17

android - REQUEST_DENIED 使用 Google Places API 浏览器 key 或应用程序 key ?

我正在Android中编写一个需要GooglePlacesAPI的应用程序。我已经通过Google控制台为我的浏览器和我的特定应用程序创建了一个key。应用程序key已适用于Googlemap。不过,要向GooglePlacesAPI发出请求,我似乎必须使用浏览器key才能使其正常工作。它不适用于应用程序key,因为这会导致REQUEST_DENIED。有人知道这是怎么可能的吗?还是这是正常的? 最佳答案 访问GoogleplacesAPI涉及来自浏览器的http/https请求。您创建的应用程序key不适用于Google地点,因为

android - 如何用值 "No resource found that matches the given name (at ' 修复 '@integer/google_play_services_version' 值')”

当我在VisualStudio2015中构建我的Android应用程序项目时出现以下错误。Noresourcefoundthatmatchesthegivenname(at'value'withvalue'@integer/google_play_services_version')这些行位于:obj\Debug\android\manifest\AndroidManifest.xml在AndroidManifest文件中有3个完整的内容。我已经从SDKManager下载了googleplay服务。我应该在我的解决方案中引用任何内容吗?我已经对Xamarin.GooglePlaySer