I am trying to install wso2 source code from github to android studio,but i am facing some errors,so please help me step by step method to solve the same
Thanks in Advance
Please follow all the instructions here https://docs.wso2.com/display/EMM220/Customizing+the+Android+APK+File
You need to enable Android hidden APIs before compiling the app
C:\Users\parvathi\Desktop\CodeMDM\client\client\src\main\java\org\wso2\emm\agent\api\RuntimeInfo.java
Error:(159, 38) error: cannot find symbol method getLegacyExternalStorageDirectory()
C:\Users\parvathi\Desktop\CodeMDM\client\client\src\main\java\org\wso2\emm\agent\services\AlarmReceiver.java
Error:(56, 36) error: cannot find symbol method getExtra(String)
C:\Users\parvathi\Desktop\CodeMDM\client\client\src\main\java\org\wso2\emm\agent\services\NetworkConnectedReceiver.java
Error:(42, 28) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
C:\Users\parvathi\Desktop\CodeMDM\client\client\src\main\java\org\wso2\emm\agent\utils\CommonUtils.java
Error:(432, 11) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
Error:(445, 11) error: cannot find symbol method startServiceAsUser(Intent,UserHandle)
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:client:compileDebugJavaWithJavac FAILED
Error:Execution failed for task ':client:compileDebugJavaWithJavac'.
Compilation failed; see the compiler error output for details.
Related
I want to create a project in the Project explorer of the Streams studio (vmware workstation player.I have entered the project name and then I have created the "Filesink", "Filesource" and "Filter" in my project name, but when I save, I get this error message:
"CDISP0092E ERROR: Because of previous compilation errors, the compile process cannot continue."how could resolved ?
Thank you
Per default auto-build is enabled in Streams Studio. When you save your project
the project build is triggered.
You could disable this in the menu Project-> Build Automatically (unset), for example to avoid error messages during your application creation and you know that you are not ready.
Otherwise to learn more about the error, scroll up in the Console, and check the error messages prior CDISP0092E.
Most likely they are similar to the messages below:
application/Test.spl:6:11: CDISP0053E ERROR: An unknown identifier was referenced in the SPL program: varType.
application/Test.spl:17:11: CDISP0053E ERROR: An unknown identifier was referenced in the SPL program: varType.
application/Test.spl:14:12: CDISP0053E ERROR: An unknown identifier was referenced in the SPL program: parameterValue.
It might be that mandatory operator parameters are not set and/or the Stream schemas are not defined.
To configure those properties, double-click on the operators and/or connected stream(s).
I'm having trouble building a project in XE5. I made some basic changes that would in no way cause an issue, but the project fails to build. I have verified that these changes build fine on another machine, and that the projects continues to build on my machine if I undo these changes.
I have managed to narrow the cause down to the code trying to use a member variable, but it's clear this is not the actual reason for the link failure.
I have tried clearing temp files as this seems to have worked for a similar issue:
C++ Builder XE7 LME288 Error
but this does not fix the problem. For reference, i am receiving the following:
[ilink32 Warning] Warning: unknown heap name : 0x08000000 / 0x08000000
[ilink32 Warning] Warning: Error detected (LME1641)
[ilink32 Error] Error: Unable to perform link
I'm being driven crazy by this, does anyone have any ideas?
Managed to figure this out eventually, the .cbproj file had been tainted from a recent merge.
The issue was extremely sporadic, as some branches with the same project file were building, and some were not. If you're having this issue check that your project file contains the appropriate information!
I'm working on my coin at the moment, following the guide posted here:
http://devtome.com/doku.php?id=scrypt_altcoin_cloning_guide
I've used the same libraries, installed them correctly -- everything! However, I get the following error during compilation.
Commands used are:
qmake "USE_UPNP=-" syncoin-qt.pro
make -f Makefile.Release
c:\deps\boost/boost/system/error_code.hpp: At global scope:
c:\deps\boost/boost/system/error_code.hpp:222:36: warning: 'boost::system::posix
_category' defined but not used [-Wunused-variable]
c:\deps\boost/boost/system/error_code.hpp:223:36: warning: 'boost::system::errno
_ecat' defined but not used [-Wunused-variable]
c:\deps\boost/boost/system/error_code.hpp:224:36: warning: 'boost::system::nativ
e_ecat' defined but not used [-Wunused-variable]
mingw32-make: *** [build/bitcoin.o] Error 1
After reading on bitcoin forums, I found a post by shakezula that mentioned this was frequently a result of missing "__NO_SYSTEM_INCLUDES". However, that is included in my .pro file, which you can find here:
http://pastebin.com/4p4BMPAE
Thanks for your help.
I managed to fix this by downloading the CoinLab build environment; for those interested, the QT version was 4.8.4, with MinGW as the version bundled with GCC 4.6.2.
I'm right where you are when you posted this atm. Kinda stuck here as well... Are you using Qt 5.2? I think we may need to use 4.8.5 to get anything done.
While trying to compile a C++ project in XE5 I get the following error:
[ilink32 Error] Fatal: Unable to open file 'WINDOWS.OBJ'
I already use "Windows" instead of "WinTypes" and "WinProcs" in my Delphi units.
Under "Delphi compiler" -> "Unit scopes" there is also the "WinAPI" entry.
Does anyone know what could be the problem?
Sounds like your search paths do not include an entry for $(BDS)\lib\$(Platform)\$(Config)
I am making a mobile app with the C++ API Mosync(2.7) the IDE uses eclipse. When I compile I get these errors & I'm not sure how I fix them:
c:/slave/buildScripts/temp_EjFB/source/libs/libsupc++/new_opvnt.cc:1:
Error: Symbol '__Znam' is already defined,
c:/slave/buildScripts/temp_EjFB/source/libs/libsupc++/new_opnt.cc:37:
Error: Symbol '__Znwm' is already defined,
c:/slave/buildScripts/temp_EjFB/source/libs/libsupc++/del_opvnt.cc:68:
Error: Symbol '__ZdaPv' is already defined,
c:/slave/buildScripts/temp_EjFB/source/libs/libsupc++/del_opnt.cc:36:
Error: Symbol '__ZdlPv' is already defined,
c:/slave/buildScripts/temp_EjFB/source/libs/MAStd/maxtoa.c:40: Error:
Symbol '_xtoa' is already defined,
I'm pretty sure when I created my project I selected NativeUI project(or maybe NativeUI C++). And my build settings are:
Include Paths: %mosync-home%/include
Library Paths: %mosync-home%/lib/pipe
Additional Libs: mastd.lib, MAUtil.lib, NativeUI.lib
There is a copy of my whole project here if it will help: http://www.mosync.com/content/build-error-redefinition-functions
How can I get my project to compile?
It looks like you have included the same library twice.
You should check this in you project settings.
I will point the MoSync support team at this question, sorry for the late reply.
There should be no need to include mastd.lib unless "Ignore Default" checkboxes are checked.
I suggest to create a new project from a template (using File/New Project...) and copy the settings in that project. In your project the only field that should need to be filled in is:
Additional Libraries: MAUtil.lib, NativeUI.lib
You can also post questions to the MoSync Forum: http://www.mosync.com/forum
Hopefully, you will get a quicker response at the forum :)