TMSFMXWebBrowser

If I create a brand new Firemonkey app in c++builder XE7 and drag the TMSFMXWebBrowser onto the form and then try to compile it, it compiles fine and opens on the Windows desktop.  If I change the target platform to Android and select my phone and then compile it again, it instantly pops up a window: Unable to find static library: libTMSFMXPackPkgDXE7.a and returns the error [bccaarm Fatal Error] Unit2.h(9): 'FMX.TMSWebBrowser.hpp' file not found.   If I create the exact identical app in Delphi XE7 and select my phone as the target, it works fine.  What could be wrong that's causing this issue with C++Builder?

for C++Builder the packages must be rebuild with MSBuild. You need to open a command prompt window and execute 2 commands:


rsvars<o:p></o:p>

“C:\Program Files (x86)\Embarcadero\Studio\15.0\bin\rsvars.bat”

 build

MSBuild /p:platform=Android TMSFMXPackPkgDXE7.dproj

Kind Regards, 

Pieter

The .bat file apparently runs (with no output, so I can't tell for sure).

But when I try to do the MSBUILD, I get this:

c:\>MSBuild /p:platform=Android TMSFMXPackPkgDXE7.dproj
Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.5485]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: TMSFMXPackPkgDXE7.dproj

c:\>

If I manually CD into the Firemonkey directory that contains that file, MSBUILD compiles it.

c:\Users\John2012\Documents\tmssoftware\TMS Pack for FireMonkey>MSBuild /p:platform=Android TMSFMXPackPkgDXE7.dproj
Microsoft (R) Build Engine Version 3.5.30729.5420
[Microsoft .NET Framework, Version 2.0.50727.5485]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 1/19/2015 9:35:35 AM.
Project "c:\Users\John2012\Documents\tmssoftware\TMS Pack for FireMonkey\TMSFMXPackPkgDXE7.dproj" on node 0 (default targets).
  CodeGear Resource Compiler/Binder
  Version 1.2.2 Copyright (c) 2008-2012 Embarcadero Technologies Inc.

  Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0

  Copyright (C) Microsoft Corporation.  All rights reserved.


  Deleting file "TMSFMXPackPkgDXE7.vrc".
_PasCoreCompile:
  Embarcadero Delphi for Android compiler version 28.0
  Copyright (c) 1983,2014 Embarcadero Technologies, Inc.
FMX.USheetNameList.pas(1): warning W1000: Symbol 'Add' is deprecated
FMX.UBreakList.pas(1): warning W1000: Symbol 'Add' is deprecated
  311 lines, 11.87 seconds.
Done Building Project "c:\Users\John2012\Documents\tmssoftware\TMS Pack for Fir
eMonkey\TMSFMXPackPkgDXE7.dproj" (default targets).


Build succeeded.

"c:\Users\John2012\Documents\tmssoftware\TMS Pack for FireMonkey\TMSFMXPackPkgD
XE7.dproj" (default target) (1) ->
(_PasCoreCompile target) ->
  FMX.USheetNameList.pas(1): warning W1000: Symbol 'Add' is deprecated
  FMX.UBreakList.pas(1): warning W1000: Symbol 'Add' is deprecated

    2 Warning(s)
    0 Error(s)

Time Elapsed 00:00:19.82

c:\Users\John2012\Documents\tmssoftware\TMS Pack for FireMonkey>


When I test dropping the browser onto a blank form and trying to compile for my Android phone, I still get the same popup as before.