腾讯云
开发者社区
文档
建议反馈
控制台
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
登录/注册
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(7076)
视频
沙龙
2
回答
Android
Studio
错误
:
无法
将
org.json.JSONObject
转
换为
JSONArray
android
、
arrays
、
json
我正在尝试从生成用户名和密码的api获取JSON数据,但我
无法
做到,请帮助 ? ?
浏览 23
提问于2019-03-04
得票数 0
回答已采纳
3
回答
在运行代码示例时获取“未处理异常: org.json.JSONException”
android
、
json
帮助:我正在使用
Android
,并尝试使用import
org.json.JSONObject
; // TBD - String query = object.getString("query"); // TBD -
JSONArray
locations = object.getJSONArray(&q
浏览 2
提问于2016-07-20
得票数 1
回答已采纳
1
回答
缺少"Request.Method.GET“和"com.
android
.volley”JsonObjectRequest参数的"
org.json.JSONObject
“似乎顺序
错误
java
、
android
、
json
然而,当我使用
Android
studio
尝试这样做时,我得到一个
错误
,它要求参数以不同的顺序。应该没有问题,只需按不同的顺序输入信息,但还有另一个问题。它坚持方法是
org.json.JSONObject
的,而不是com.
android
.volley的。但是,我在
Android
Stuido的自动下拉选择器中找不到来自
org.json.JSONObject
的Request.Method.GET,并且我在页面顶部的代码中导入了import
org.json.JSO
浏览 0
提问于2020-08-09
得票数 1
3
回答
无法
将
org.json.JSONObject
转
换为
JSONArray
android
、
json
、
parsing
org.apache.http.client.methods.HttpPost; import org.json.JSONException; import
android
.util.Log; static InputStreamuser_detail_<
浏览 0
提问于2013-07-25
得票数 5
回答已采纳
4
回答
如何循环使用
android
中的json数据
java
、
android
、
json
、
jsonp
"uid":"4fc8f94f1a51c5.32653037", "profile_photo":"http:\/\/example.info\/
android
\/profile_photos\/profile1.jpg", { "place_photo":"http:
浏览 1
提问于2012-06-02
得票数 0
1
回答
错误
org.json.JSONObject
不能转
换为
JSONArray
java
、
php
、
json
我为我的
android
项目提供了一个php文件。我希望它显示来自我的php代码的数组数据。但它显示了“
错误
解析数据org.json.JSONException .
错误
org.json.JSONObject
不能转
换为
JSONArray
”这样的
错误
$rows = array"}";我猜这个
错误
在php代码中。因为当我试图从mysql检索数据时,程序运行得很好。我为我糟
浏览 2
提问于2014-05-25
得票数 0
回答已采纳
1
回答
在我的项目中使用JsonObjectRequest时出错
android
、
json
、
android-volley
错误
:(34,83)
错误
:不兼容类型: int不能转
换为
字符串
错误
:任务执行失败':app:compileDebugJavaWithJavac‘。编译失败;有关详细信息,请参阅编译器
错误
输出。; import
android
.widget.TextView; importorg.json.
JSONArray<
浏览 1
提问于2017-07-16
得票数 0
1
回答
如何解析JSON对象
Android
Studio
java
、
android
、
json
、
api
"imdbRating":"7.0","imdbVotes":"199,878","imdbID":"tt0103776","Type":"movie","Response":"True"}of type
org.json.JSONObject
can
浏览 1
提问于2015-11-17
得票数 0
回答已采纳
2
回答
无法
在
Android
中工作的JsonArrayRequest :
无法
解析构造函数
java
、
android
、
json
我一直得到:
无法
解析构造函数'JsonArrayRequest(int,java.lang.String,java.lang.String,匿名com.
android
.volley.Response.Listener)‘import
android
.widget.TextView; import
浏览 1
提问于2018-10-10
得票数 0
回答已采纳
3
回答
用Json问题进行
Android
数据传输
java
、
android
、
json
如何使用
android
来获取值,因为我的示例代码会出现一些
错误
。['key'] = $row['key']; $
jsonArray
['lgtime'20140129184514896" { "
浏览 7
提问于2014-01-30
得票数 0
回答已采纳
2
回答
阵列内的JsonObject
android
、
post
、
android-volley
jsonArray
= new
JSONArray
(); postparams.put("LONG<
JSONArray
>() {public void onResponse(
JSONArray
response) { },onErrorResponse(VolleyError error) {
浏览 0
提问于2019-07-25
得票数 0
3
回答
如何在
Android
Studio
中解析JSON
android
、
json
我想使用
Android
Studio
解析JSON数据,但我做不到。它说HTTP已被弃用。如何使用
Android
Studio
解析这些数据。所以我
无法
解析。我的MainActivity类import
android
.os.AsyncTask;import org.json.JSONException; import
org.js
浏览 2
提问于2015-08-01
得票数 2
5
回答
解析带有subarray的
android
数据时出错
android
、
json
converting result" + e.toString()); try { for (int i = -1; i < jArray.length() - 1; i++) {Log.e("log_tag_parsing", "Error parsing d
浏览 0
提问于2015-04-07
得票数 0
3
回答
在快速
android
网络库中如何在params中发送数组
java
、
android
、
arrays
、
json
我使用的是快速
Android
网络,我想将数据发送到包含字符串和数组的服务器。发送字符串是可以的,但是我不能发送数组,它不是数组列表。这是一个简单的数组。我有其他的解决办法,但都是关于截击的。public void onResponse(String response) {
JSONArray
jsonArray
= new
JSONArray
(response); JSONObj
浏览 1
提问于2019-03-28
得票数 0
回答已采纳
6
回答
无法
将
org.json.JSONObject
类型的at数据转
换为
JSONArray
java
、
android
、
arrays
、
json
、
android-volley
JSONObject(response);
JSONArray
浏览 88
提问于2020-01-20
得票数 0
回答已采纳
6
回答
安卓系统
无法
将
org.json.JSONObject
转
换为
JSONArray
android
、
json
、
url
此url 中的y it
错误
"id": "1", "last_name": "woman", try {
JSONArr
浏览 5
提问于2012-10-04
得票数 11
回答已采纳
1
回答
我
无法
将
Android
HPROF转
换为
棒棒糖上的标准HPROF
android
、
hprof
我在
Android
Studio
1.3中得到了
Android
堆
转
储文件。 因此,我尝试在DDMS中获取
转
储文件(示例文件名:
android
.hprof)。然后我尝试
将
Android
HPROF转
换为
标准的HPROF文件。hprof-conv
android
.hprof standard.hprof 则返回为ERROR: read 40070 of 65559 by
浏览 5
提问于2015-09-05
得票数 3
1
回答
将
Json对象转
换为
数组
android
、
arrays
、
json
、
android-volley
在修改用于
将
Json对象转
换为
数组的
android
代码时,我需要帮助。贝娄是我的日志猫和实际代码中的
错误
。,这是我在logcat:中得到的
错误
消息 04-03 12:01:16.727 19993-19993/com.errandit E/Volley: com.
android
.volley.ParseError:"7000"},{"errand":"Pick - Up","charges"
浏览 0
提问于2018-04-03
得票数 0
回答已采纳
1
回答
JAVA解析内部JSON
android
、
json
我尝试了许多解决方案,但我
无法
处理这一点,它不断地给我"at视频类型的
org.json.JSONObject
不能转
换为
JSONArray
“
错误
。我该怎么解决这个问题。谢谢。key: "nIGtF3J5kn8", ]}
JSONArray
; i < Movie_List.length(); i++) JS
浏览 1
提问于2016-03-12
得票数 0
回答已采纳
1
回答
Volley JSONObjectRequest和JSONArrayRequest都给
Android
带来了
错误
java
、
android
、
android-volley
我试图按以下方式解析JSON数据:我遵循了
Android
response -> { try {
JSONArray
浏览 1
提问于2021-06-20
得票数 0
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
Visual Studio 2017 15.6版本预览,增加新功能
Android Studio 3.6 稳定版发布啦,快来围观!
前端框架三巨头年度走势对比:Vue 增长率最高;Oracle 延长了对 Java 8 免费支持的时间
Android Studio 4.0发布:全新的 Motion 编辑器及众多更新
TypeScript 3.0 正式发布;谷歌将 AndroidX 移至 AOSP
热门
标签
更多标签
云服务器
ICP备案
实时音视频
即时通信 IM
对象存储
活动推荐
运营活动
广告
关闭
领券