Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Galaxy s7 edge crash
05-16-2016, 11:30 AM (This post was last modified: 05-16-2016 01:01 PM by Jaaan.)
Post: #53
RE: Galaxy s7 edge crash
(05-15-2016 08:19 PM)[Unknown] Wrote:  I'm still waiting for someone to report back on the code changes I suggested:

Possibly none will make any difference, or will just make it behave differently, but information on that would really help move this forward. It probably looks harder / more time consuming than it is from the length of the post.

From my perspective, this looks like a hardware / OS bug. Without someone testing to figure out what triggers the bug in the device, it's very hard to come up with an effective workaround. We've already tried guessing and it didn't fix it.

-[Unknown]

I'm on this right now. Currently installing everything.

EDIT: I'm getting an "'ant' is not recognized as an internal or external command, operable program or batch file.

I've installed everything, set up android studio with the standard settings, used git to get ppsspp. I'm currently stuck at "ant debug" with this error.

EDIT2: MAnaged to get ant running. Now getting this:

Code:
C:\Users\----\ppsspp\android>ant debug
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_91\lib\tools.jar
Buildfile: C:\Users\----\ppsspp\android\build.xml

BUILD FAILED
C:\Users\----\ppsspp\android\build.xml:61: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable.

Total time: 0 seconds

EDIT3: Set Java to look in the right place, now getting this:

Code:
C:\Users\----\ppsspp\android>ant debug
Buildfile: C:\Users\----\ppsspp\android\build.xml

BUILD FAILED
C:\Users\----\ppsspp\android\build.xml:61: sdk.dir is missing. Make sure to generate local.properties using 'android update project' or to inject it through the ANDROID_HOME environment variable.

Total time: 0 seconds

EDIT4: Right.. past that, now getting this:

Code:
C:\Users\----\ppsspp\android>ant debug
Buildfile: C:\Users\----\ppsspp\android\build.xml
Duplicated project name in import. Project PPSSPP defined first in C:\Users\----\ppsspp\android\build.xml and again in C:\Users\----\ppsspp\android\custom_rules.xml

-set-mode-check:

-set-debug-files:

-check-env:
[checkenv] Android SDK Tools Revision 25.1.6
[checkenv] Installed at C:\Users\----\AppData\Local\Android\Sdk

-setup:
     [echo] Project Name: PPSSPP
  [gettype] Project Type: Application

-set-debug-mode:

-debug-obfuscation-check:

-pre-build:

BUILD FAILED
C:\Users\----\ppsspp\android\custom_rules.xml:8: Execute failed: java.io.IOException: Cannot run program "${ndk.dir}\ndk-build.cmd" (in directory "C:\Users\----\ppsspp\android"): CreateProcess error=2, Het systeem kan het opgegeven bestand niet vinden
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
        at java.lang.Runtime.exec(Runtime.java:620)
        at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandL​auncher.java:58)
        at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:426)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:440)
        at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:629)
        at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:670)
        at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:496)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:293)
        at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav​a:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:435)
        at org.apache.tools.ant.Target.performTasks(Target.java:456)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1405)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1376)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:​41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1260)
        at org.apache.tools.ant.Main.runBuild(Main.java:854)
        at org.apache.tools.ant.Main.startAnt(Main.java:236)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:285)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:112)
Caused by: java.io.IOException: CreateProcess error=2, Het systeem kan het opgegeven bestand niet vinden
        at java.lang.ProcessImpl.create(Native Method)
        at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
        at java.lang.ProcessImpl.start(ProcessImpl.java:137)
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
        ... 23 more

Total time: 0 seconds

Forgot the set the NDK, lol. It's compiling yay!

EDIT5: BUILD FAILED
C:\Users\----\ppsspp\android\custom_rules.xml:8: exec returned: 2 Sad

XML file says:
Code:
<?xml version="1.0" encoding="UTF-8"?>

-<project default="help" name="PPSSPP">


-<condition else="ndk-build" value="ndk-build.cmd" property="ndkbuild_exe">

<os family="windows"/>

</condition>

<property name="ndkbuildopt" value=""/>


-<target name="-pre-build">


-<exec failonerror="true" executable="${ndk.dir}/${ndkbuild_exe}">

<arg line="-j4 ${ndkbuildopt}"/>

<env path="../ext:../ext/native/ext" key="NDK_MODULE_PATH"/>

</exec>

</target>


-<target name="clean" depends="android_rules.clean">


-<exec failonerror="true" executable="${ndk.dir}/${ndkbuild_exe}">

<arg value="clean"/>

<env path="../ext:../ext/native/ext" key="NDK_MODULE_PATH"/>

</exec>

</target>

</project>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Galaxy s7 edge crash - cha0tic - 03-12-2016, 02:34 PM
RE: Galaxy s7 edge crash - KingPepper - 03-12-2016, 04:55 PM
RE: Galaxy s7 edge crash - cha0tic - 03-12-2016, 07:08 PM
RE: Galaxy s7 edge crash - Henrik - 03-12-2016, 07:20 PM
RE: Galaxy s7 edge crash - cha0tic - 03-12-2016, 07:23 PM
RE: Galaxy s7 edge crash - cha0tic - 03-13-2016, 05:31 PM
RE: Galaxy s7 edge crash - thienbaont - 03-14-2016, 03:40 AM
RE: Galaxy s7 edge crash - cha0tic - 03-14-2016, 04:02 AM
RE: Galaxy s7 edge crash - jajabinx35 - 03-15-2016, 08:30 PM
RE: Galaxy s7 edge crash - cha0tic - 03-16-2016, 11:14 PM
RE: Galaxy s7 edge crash - nex86 - 03-17-2016, 04:05 AM
RE: Galaxy s7 edge crash - thienbaont - 03-17-2016, 04:12 AM
RE: Galaxy s7 edge crash - nex86 - 03-17-2016, 04:14 AM
RE: Galaxy s7 edge crash - cha0tic - 03-17-2016, 08:09 AM
RE: Galaxy s7 edge crash - heneli627 - 03-17-2016, 02:46 PM
RE: Galaxy s7 edge crash - nex86 - 03-17-2016, 03:24 PM
RE: Galaxy s7 edge crash - Ifoozle - 03-18-2016, 04:32 AM
RE: Galaxy s7 edge crash - jajabinx35 - 03-18-2016, 09:30 AM
RE: Galaxy s7 edge crash - cha0tic - 03-20-2016, 06:09 AM
RE: Galaxy s7 edge crash - Bronxc - 03-20-2016, 04:50 PM
RE: Galaxy s7 edge crash - Ifoozle - 03-20-2016, 07:46 PM
RE: Galaxy s7 edge crash - [Unknown] - 03-22-2016, 03:01 AM
RE: Galaxy s7 edge crash - cha0tic - 03-22-2016, 07:49 PM
RE: Galaxy s7 edge crash - [Unknown] - 03-22-2016, 11:45 PM
RE: Galaxy s7 edge crash - chdcchris - 03-22-2016, 10:15 PM
RE: Galaxy s7 edge crash - nex86 - 03-23-2016, 01:53 AM
RE: Galaxy s7 edge crash - Warmachine02 - 04-04-2016, 06:07 PM
RE: Galaxy s7 edge crash - heneli627 - 04-06-2016, 07:19 PM
RE: Galaxy s7 edge crash - jajabinx35 - 04-07-2016, 08:56 AM
RE: Galaxy s7 edge crash - TkSilver - 04-07-2016, 01:33 PM
RE: Galaxy s7 edge crash - jajabinx35 - 04-09-2016, 03:47 PM
RE: Galaxy s7 edge crash - Henrik - 04-09-2016, 05:32 PM
RE: Galaxy s7 edge crash - Warmachine02 - 04-09-2016, 05:49 PM
RE: Galaxy s7 edge crash - jajabinx35 - 04-09-2016, 06:40 PM
RE: Galaxy s7 edge crash - solid89 - 04-12-2016, 08:05 AM
RE: Galaxy s7 edge crash - LoAndEvolve - 04-12-2016, 10:05 AM
RE: Galaxy s7 edge crash - [Unknown] - 04-12-2016, 12:41 PM
RE: Galaxy s7 edge crash - brujo55 - 04-12-2016, 03:51 PM
RE: Galaxy s7 edge crash - [Unknown] - 04-12-2016, 06:08 PM
RE: Galaxy s7 edge crash - hitori - 04-13-2016, 04:58 PM
RE: Galaxy s7 edge crash - nex86 - 04-15-2016, 06:05 AM
RE: Galaxy s7 edge crash - hitori - 04-15-2016, 05:58 PM
RE: Galaxy s7 edge crash - destinyfates - 04-21-2016, 12:35 PM
RE: Galaxy s7 edge crash - jajabinx35 - 04-21-2016, 01:49 PM
RE: Galaxy s7 edge crash - TkSilver - 04-21-2016, 03:40 PM
RE: Galaxy s7 edge crash - fredwu - 04-27-2016, 03:17 PM
RE: Galaxy s7 edge crash - dazemu - 04-30-2016, 10:48 AM
RE: Galaxy s7 edge crash - jajabinx35 - 05-03-2016, 11:15 AM
RE: Galaxy s7 edge crash - Warmachine02 - 05-04-2016, 10:10 PM
RE: Galaxy s7 edge crash - jajabinx35 - 05-05-2016, 08:19 AM
RE: Galaxy s7 edge crash - Bobby_Flamingo - 05-15-2016, 06:24 AM
RE: Galaxy s7 edge crash - [Unknown] - 05-15-2016, 08:19 PM
RE: Galaxy s7 edge crash - Jaaan - 05-16-2016 11:30 AM
RE: Galaxy s7 edge crash - Henrik - 05-16-2016, 01:11 PM
RE: Galaxy s7 edge crash - Jaaan - 05-16-2016, 01:35 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-16-2016, 03:54 PM
RE: Galaxy s7 edge crash - Jaaan - 05-16-2016, 04:14 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-16-2016, 04:27 PM
RE: Galaxy s7 edge crash - Jaaan - 05-16-2016, 04:53 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-16-2016, 05:57 PM
RE: Galaxy s7 edge crash - Jaaan - 05-16-2016, 06:49 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-17-2016, 12:45 AM
RE: Galaxy s7 edge crash - Jaaan - 05-17-2016, 11:07 AM
RE: Galaxy s7 edge crash - [Unknown] - 05-17-2016, 05:17 PM
RE: Galaxy s7 edge crash - Jaaan - 05-17-2016, 06:59 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-18-2016, 04:35 AM
RE: Galaxy s7 edge crash - Jaaan - 05-18-2016, 10:59 AM
RE: Galaxy s7 edge crash - Bobby_Flamingo - 05-18-2016, 11:58 PM
RE: Galaxy s7 edge crash - [Unknown] - 05-22-2016, 01:40 AM
RE: Galaxy s7 edge crash - jakal7x - 05-22-2016, 08:21 AM
RE: Galaxy s7 edge crash - [Unknown] - 05-22-2016, 03:13 PM
RE: Galaxy s7 edge crash - jakal7x - 05-23-2016, 12:15 PM
RE: Galaxy s7 edge crash - cha0tic - 05-23-2016, 03:58 AM
RE: Galaxy s7 edge crash - [Unknown] - 05-24-2016, 03:49 AM
RE: Galaxy s7 edge crash - Henrik - 05-24-2016, 06:58 AM
RE: Galaxy s7 edge crash - jakal7x - 05-25-2016, 01:20 AM
RE: Galaxy s7 edge crash - jajabinx35 - 05-25-2016, 05:53 PM
RE: Galaxy s7 edge crash - jajabinx35 - 05-28-2016, 12:36 PM
RE: Galaxy s7 edge crash - HANZ64 - 07-19-2016, 09:22 PM
RE: Galaxy s7 edge crash - PsyEd - 08-18-2016, 06:03 AM
RE: Galaxy s7 edge crash - n1kokpo12 - 08-26-2016, 02:36 AM
RE: Galaxy s7 edge crash - n1kokpo12 - 08-27-2016, 12:13 AM
RE: Galaxy s7 edge crash - TkSilver - 08-27-2016, 02:51 AM
RE: Galaxy s7 edge crash - [Unknown] - 09-10-2016, 05:47 PM
RE: Galaxy s7 edge crash - PsyEd - 09-21-2016, 11:20 PM
RE: Galaxy s7 edge crash - HANZ64 - 09-22-2016, 04:18 AM
RE: Galaxy s7 edge crash - RoronoARK - 09-23-2016, 03:10 PM

Forum Jump: