草庐IT

start_bit_pos

全部标签

android - 适用于 Mac 的 ADT bundle : Eclipse cannot be started

我从here下载了适用于Mac的Android开发者工具包.系统要求部分说它需要“MacOSX10.5.8或更高版本(仅限x86)”。我试图在adt-bundle-mac-x86_64/eclipse中启动Eclipse.app,但我收到以下错误消息:Youcan'topentheapplicationEclipse.appbecauseitisnotsupportedonthistypeofMac.我有一台配备32位IntelCoreDuoCPU和MacOSX10.6.8和JRE1.6.0_39的Macbook。为什么我不能从ADT包启动Eclipse?如果我从here安装Eclip

android - 媒体记录器 "start failed -12"

所以我一直在为一个更大的应用程序开发一个记录模块。它在大多数设备上功能齐全,但有一批手机只是拒绝录音。每当我使用MediaRecorder开始录制时,LogCat都会亲切地告诉我MediaRecorder启动失败,导致错误代码-12。我一天中的大部分时间都在网上搜索这些错误代码的解释。到目前为止,我一直很不走运。因此,我求助于开发者社区的其他成员。MediaRecorderstartfailed-12关于这些错误代码,已经问了不止一个问题,更具体地说是16、19、22和一个大得离谱的数字2147483648,但事实证明,这些信息对我来说毫无用处。有谁知道我在哪里可以找到可靠的Media

Android Studio 64 位错误 : 32-bit Linux Android emulator binaries are DEPRECATED

我最近将我的ubuntu13.1064位升级到14.0464位。AndroidStudio在13.10上始终运行良好。在14.04上,我遇到了gradle(thisone)问题,这是缺少libz.so.1的问题。正在关注thislink,我必须安装这个包的32位版本,它解决了我的问题。现在(我认为这是相关的),在尝试启动设备模拟器时,我收到这条消息:ERROR:32-bitLinuxAndroidemulatorbinariesareDEPRECATED,tousethemyouwillhavetodoatleastoneofthefollowing:-Usethe'-force-32

java - 安卓 2.2 : How to make an app to run automaticly on startup & how to make an app start another app

主题几乎说明了一切。 最佳答案 使用BroadcastReceiver接收ActionBOOT_COMPLETED的Intent。在onReceive()方法中为您的Activity创建一个Intent:@OverridepublicvoidonReceive(Contextcontext,Intentintent){IntentmyIntent=newIntent(context,YourActivity.class);context.startActivity(myIntent);}

dart - Flutter 错误 - 断言失败 : line 213 pos 15: 'data != null' : is not true at the time of fetching data from firestore

使用Flutter开发Android应用程序。尝试从Firestore获取文档并通过小部件显示在屏幕上。这是我的代码...import'dart:async';import'dart:io';import'package:flutter/material.dart';import'package:shared_preferences/shared_preferences.dart';import'package:image_picker/image_picker.dart';import'package:firebase_storage/firebase_storage.dart';i

dart - Flutter 错误 - 断言失败 : line 213 pos 15: 'data != null' : is not true at the time of fetching data from firestore

使用Flutter开发Android应用程序。尝试从Firestore获取文档并通过小部件显示在屏幕上。这是我的代码...import'dart:async';import'dart:io';import'package:flutter/material.dart';import'package:shared_preferences/shared_preferences.dart';import'package:image_picker/image_picker.dart';import'package:firebase_storage/firebase_storage.dart';i

android - ACTION_DISCOVERY_STARTED 从未调用过 android

我有下一个代码:publicclassAddPrinterextendsListActivity{@OverridepublicvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);bluetoothAdapter.startDiscovery();filter=newIntentFilter();filter.addAction(BluetoothDevice.ACTION_FOUND);filter.addAction(BluetoothAdapter.ACTION_DISCOVERY_S

安卓NDK : Function va_start/va_end could not be resolved

我试图在我的项目中使用va_start和va_end函数,但eclipse不想将其解析为函数。gcc编译整个项目没有错误...[我的文件.cpp]#include#include[...]inlinevoidShowDbgMsg(constchar*str,...){va_listargptr;va_start(argptr,str);vprintf(str,argptr);va_end(argptr);}[...][Android.mk][...]LOCAL_C_INCLUDES:=jni/pvrTools/jni/igel/$(STLPORT_BASE)/stlport[...]e

java - 安卓工作室 : "No JVM installation found. Please install a 32-bit JDK "

我阅读了很多关于这个问题的资料,但仍然无法弄清楚我做错了什么?这是我的设置图片:有什么想法吗?更新:[正如您在图片中看到的,我使用的是java8,是不是错了?] 最佳答案 您的环境变量对话框显示您列出了一个名为JDK_HOME的变量,而错误消息告诉您将其命名为JAVA_HOME。您还使用了与Android不兼容的Java版本。您需要改用Java6或7。可以找到最新的Java7版本here. 关于java-安卓工作室:"NoJVMinstallationfound.Pleaseinstal

android - 权限拒绝 : starting Intent sharing with gmail

我尝试在我的应用程序中与gmail共享一些文本:StringshareBody="blablabla";IntentsharingIntent=newIntent(Intent.ACTION_VIEW);sharingIntent.setType("plain/text");sharingIntent.setClassName("com.google.android.gm","com.google.android.gm.ComposeActivityGmail");sharingIntent.putExtra(android.content.Intent.EXTRA_SUBJECT,"