小编Abd*_*hab的帖子

Android studio java.exe以非零退出值3结束

我已经通过非零退出值1,2,与multidex问题有关,但现在我得到非零退出值3.

工作室留言:

Information:Gradle: Executing tasks: [:emoticons_lib_proj:assembleDebug, :myProject_Developement:assembleDebug]
Information:5/27/2015 5:56 PM - Compilation completed with 1 error and 0 warnings in 5m 58s 77ms
Error:Gradle: Execution failed for task ':myProject_Developement:dexDebug'.
Run Code Online (Sandbox Code Playgroud)

com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:进程'命令'C:\ Program Files\Java\jdk1.8.0_20\bin\java.exe''以非完成零退出值3

我希望有人可能已经面临这个问题而已经修复了.请让我知道我误导的地方,

android android-gradle-plugin

9
推荐指数
3
解决办法
9966
查看次数

Android蓝牙多重连接问题?

我是Android的新手,我正在开发一个项目,我必须将我的设备连接到所有可以通过startDiscovery()电话使用蓝牙找到的设备.我已经完成了bluetooth chat sample,但问题是,对于make连接我需要点击列表中的搜索设备项,但我想在列表中的所有设备上发送数据对象..是可能的listenUsingInsecureComm..,?但我没有得到如何在未经许可的情况下与其他搜索设备配对的方式(接收设备不需要单击是配对)?

我也在这里访问了相关问题,但无法得到我的解决方案.

connection android bluetooth insecure-connection

6
推荐指数
1
解决办法
5698
查看次数

Android GoogleMap v2被裁剪或未完全显示

我观察到谷歌地图的意外行为.问题是使用支持地图片段从顶部和底部区域获取裁剪,如果我使用全屏,则地图完全可见,如图1所示,但如果我应用地图片段高度或权重属性,则地图不完全可见如图2所示.

图片1的布局xml:

<fragment xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:map="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.paki.venturedive.awtest.MapsActivity" />
Run Code Online (Sandbox Code Playgroud)

布局xml为图片2:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<fragment xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:map="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/map"
    android:name="com.google.android.gms.maps.SupportMapFragment"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:layout_weight="0.6"
    tools:context="com.paki.venturedive.awtest.MapsActivity" />

<TextView
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:text="Hello world"
    android:layout_weight="0.4" />
Run Code Online (Sandbox Code Playgroud)

Java代码:

@Override
protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_maps);
    // Obtain the SupportMapFragment and get notified when the map is ready to be used.
    SupportMapFragment mapFragment = (SupportMapFragment) getSupportFragmentManager()
            .findFragmentById(R.id.map);
    mapFragment.getMapAsync(this);
}
Run Code Online (Sandbox Code Playgroud)

在图2中,我(用户将)无法看到格陵兰岛上方的北极海洋,同样底部区域将会丢失,如图3所示在此输入图像描述.

有没有人面对这个问题或有没有人知道如何应对它?

任何参考链接或提示将不胜感激.

图片1, 图2.

android google-maps google-maps-android-api-2 supportmapfragment

5
推荐指数
1
解决办法
550
查看次数