草庐IT

check_authorization

全部标签

android - 谷歌地图 Android API v2 : Authorization Failure

我正在尝试让我的Googlemap显示在我的应用程序上,但它无法正常工作并出现此错误:01-2511:38:54.763:E/GoogleMapsAndroidAPI(30514):Authorizationfailure.我目前正在使用发布证书中的SHA1证书指纹,该证书用于在应用商店中发布我的应用。编辑:我还在API控制台上打开了GoogleMapAndroidAPIv2。我已经阅读了来自here的评论“签名算法必须是SHA1withRSA而不是SHA256withRSA”。但是,我从Eclipse创建了发布证书,它是SHA256withRSA,我没有对其进行任何设置。我似乎也无法

安卓 Facebook 登录 : How to check login using LoginManager without having LoginButton in XML

我已经使用LoginButton在我的android应用程序中完成了facebook登录检查,但我想使用LoginManager进行检查。我该如何修改我的代码才能以这种方式工作?LoginButtonloginButton=(LoginButton)findViewById(R.id.fb_login_button);loginButton.setReadPermissions("user_friends");shareDialog=newShareDialog(this);//LoginCallbackregistrationLoginManager.getInstance().re

android - Linkedin 在 Android 中的集成错误 : not showing authorization screen in linkedin app

我正在尝试在登录时构建一个带有linkedin集成的android应用程序,但在按下按钮后出现错误。它正在重定向到linkedin应用程序,但未显示任何授权屏幕并重定向到我的应用程序。Code:LISessionManager.getInstance(getApplicationContext()).init(this,buildScope(),newAuthListener(){@OverridepublicvoidonAuthSuccess(){//Authenticationwassuccessful.Youcannowdo//othercallswiththeSDK.Toast

android - Simple List Item Checked 在点击时检查多个项目

好吧,我正在制作一个简单的待办事项列表应用程序,它从一组字符串数组中读取项目,并将它们显示在ListView中作为simple_list_item_checked。一切正常,我已经设置了onClickListener,所以它会检查我正在点击的内容,但是,当我点击一个项目时,它还会检查项目8项,重复。(即我点击最上面的项目,它得到一个检查,第8个项目被检查,然后8个被检查,等等)这是主要Activity的代码:packagecom.disneyland;importandroid.app.ListActivity;importandroid.os.Bundle;importandroid

javascript - react native : Is there any way to check if the file exists in android_asset folder or not?

我需要像这样检查文件夹中的文件是否存在:file:///android_asset/contents/my.html我试过使用react-native-filesystem插件componentWillMount(){asyncfunctioncheckIfFileExists(){constfileExists=awaitFileSystem.fileExists('file:///android_asset/contents/my.html')console.log(`fileexists:${fileExists}`)}}我确信my.html文件在那里,但我在fileExists

android - 如何在 android 中使用 Google Place Check-Ins

我使用GooglePlacesAPI检索特定位置及其周围的地点。通过解析xml文件,我得到了所需的位置及其详细信息。我需要签到一个特定的地方。我不知道如何通过HttpPOST方法请求。这是我必须提出的要求。place_reference——我从place请求中得到的引用。api_key--我的apikey。POSThttps://maps.googleapis.com/maps/api/place/check-in/xml?sensor=true_or_false&key=api_keyHTTP/1.1Host:maps.googleapis.complace_reference我使用

android - map 安卓 API : Authorization failure

和我类似的问题有很多。我把它们都看了一遍(我希望)。我也认为我做的一切都很好。Mapsv2在GoogleServices上次更新到Rev25之前一直有效我得到:E/GoogleMapsAndroidAPI﹕AuthorizationfailureEnsurethatthe"GoogleMapsAndroidAPIv2"isenabled.EnsurethatthefollowingAndroidKeyexists:APIKey:AIzaSyB...关键匹配。下一个:AndroidApplication(;):87:60:41:37...;com.example.example证书匹配所

android - git - 使用 Gradle 构建将远程 git 代码 check out 到 Android Studio 导入的项目中

我有一些代码已导入到AndroidStudio中。它现在有一个Gradle构建(以前没有)。我现在需要执行gitpull。但是,鉴于目录结构略有变化,我不确定如何继续进行。app/src/main下的AndroidStudio目录结构与原来的类似,例如:安卓工作室[main]$lsAndroidManifest.xmlassetsjavares[main]$lsjava/LICENSE.txtREADME.mdcom原创$lsAndroidManifest.xmlREADME.mdresLICENSE.txtassetssrc$lssrc/com在com下它非常相似,除了反向域路径略有

android - 安装 Android Studio 3.1 后,我得到 "AAPT2 error: check logs for details"

我尝试关闭AAPT2,但没有用。以下是日志。Build:buildfailed5s44msRunbuild4s889msLoadbuild47msRuninitscripts43msEvaluatesettings2msConfigurebuild776msCalculatetaskgraph2s211msRuntasks1s839msnull/Users/dt/AndroidStudioProjects/HappyBirthdayapp/src/main/res/layout/activity_main.xmlerror:resourcedimen/activity_vertical

安卓工作室 : how to show author of just selected line

我注意到VisualStudioCode中的一个漂亮功能(不知道是不是因为GitLens扩展):当我编辑一行时,我可以看到该行的GIT注释,包括作者、上次编辑时间和提交信息。这非常酷,因为它不像您可以在AndroidStudio中启用的“注释”Pane那样占用大量空间。它快速、简单、直接。我的问题是:据您所知,是否有任何AndroidStudio扩展允许类似的可视化?谢谢马可 最佳答案 我通过使用名为GitToolBox的插件在Androidstudio中获得了同样的效果 关于安卓工作室