Debugging on Android device. will work?

Now a device is showed as (null)

And now it stop building (before itworks)

xbuild /Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos.sln /nologo /target:Build /verbosity:normal /property:Configuration=Debug /toolsversion:4.0



Build started 06/06/2014 10:48:57 a. m..
__________________________________________________
Project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos.sln" (Build target(s)):
        Target ValidateSolutionConfiguration:
                Building solution configuration "Debug|AnyCPU".
        Target Build:
                Project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPos.oxygene" (default target(s)):
                        Target CooperPreflight:
: error : Error initializing task JavaBuildPreflight: Could not load file or assembly 'RemObjects.Oxygene' or one of its dependencies. The system cannot find the file specified.
                        Task "JavaBuildPreflight" execution -- FAILED
                        Done building target "CooperPreflight" in project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPos.oxygene".-- FAILED
                Done building project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPos.oxygene".-- FAILED
        Task "MSBuild" execution -- FAILED
        Done building target "Build" in project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos.sln".-- FAILED
Done building project "/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos.sln".-- FAILED

Build FAILED.
Errors:

/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos.sln (Build) ->
(Build target) ->
/Volumes/Work/Sistemas/PetroBoxServices/Version_GS_2014/Shared/PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPosVersion2Fire/net.petrobox.PetroBoxAndroidPos/net.petrobox.PetroBoxAndroidPos.oxygene (default targets) ->
/Library/Frameworks/Mono.framework/External/xbuild/RemObjects Software/Oxygene/RemObjects.Oxygene.Cooper.Common.targets (CooperPreflight target) ->

        : error : Error initializing task JavaBuildPreflight: Could not load file or assembly 'RemObjects.Oxygene' or one of its dependencies. The system cannot find the file specified.

         0 Warning(s)
         1 Error(s)

Time Elapsed 00:00:00.2137120

Ok, id love to see the console log for that, the extra details i added should help narrow that down.

this is new? or you never tried building before? Sounds to me like the compiler isn’t properly installed. are you using internal or external (please use external for now)?

I upload the log, too big.

Yes is new. I have to set external compiler before to make it work. Now is the opposite, i DIDABLE external compiler and built. With internal compiler stop working.

Another side effect: now every new project fails to create files. Maybe for the debug build , just mentioned FYI.

BTW, now the debuggers starts on android but always sho me the “waiting for debugger” window. I try several times, will kep trying.

Also another entail si, on VS i can debug a app already installed with same id, now it complains and says already was a app with same id on android and i must delete to re run debug.

Upload a new log showing messes when trying to debug on android.

Stop always on waiting for debugger.

i’m confused now. which one works, which one fails?

probably side effect of the device info being borked.

Before:

Internal don’t work
External Works.

Now:

Internal works.
External don´t.

k, did you change the external compiler? coz the zip i game you didn’t include one…?

No, u change from use external compiler to internal compiler because it just stop working with the latest release you sen d me.

If i check the path the file is there , i don’t change anything else other that setup.

I get the new release, try too build, fails.

Then i select internal compiler and build. Nothing else.

Is that the info you need?

Maybe that helps(?):

What i don’t get is how if the EXTERNAL compiler did not change, why it would stop working. Did you y any chance update Mono? updating Mono means you need to rerun the install.sh script for the compiler.

Yes, is strange, mono is working on the command line.

I will install xamarin to be sure and tell you.

BTW, is not a good signal the internal compiler is working?

i’m sure it is. it;s not mono thats failing, it’s the compiler. the question is why, if nothing changed. SO i ask again — did you update Mono or make any changes (aside from updating Fire)? because if nothing changed, then the external compiler should not just stop working.

that won’t tell us anything new.

it is, yes. but the external one should be working too, and that’s what worries me :wink:

The only thing i do is uninstall Android studio and install IntelliJ.

It tell me is a piece of s****. :stuck_out_tongue: Aside this, now i run again the install.sh file and start working fine.

Is working now, i just install mono again (trout XAMARIN) and re run install.sh. Now both compilers work (internal and external)

Just waiting to debug on android. Must install the new release or wait a new special build?

Best regards.

What part is this failing on again now? still the NRE while looking for devices?

With the latest version i have installed, the first try to run complains with this message:

I uninstall the app, rebuild, run and then a windows on the android device who’s:

Waiting for the debugger
Application xxxx is waiting for the debugger to attach.

Theres no way to pass this window. I Close it, start again and it shows again.

I can run on the device, no debug mode, my app and works fine. Just don’t work under debug with fire.

k, thats not Fire’s issue, its an ADK toolchain issue. i just report what it tells me. Try deleting the app from the device.

@mh

This are the steps i use.

First open my project on WIN7 VM + VS 2013 Oxygene 7.

Build project, run on device, don’t show any message for wait, just run perfect.

Close my VM.

Attach the android device to mac

uninstall the app

Duplicate my project folder

open on fire

remove databstact and remobjects invalid references, drag and drop mac references.

Build, run, it waits for ever…

What else can i try?

I have to add, when i close the waiting for debugger windows the STOP icon on fire lives.

anything in the Build log or Debug Log? anything in Console?