hi I've been using the React-Native-Maps library from https://github.com/lelandrichardson/react-native-maps/blob/master/docs/installation.md with a real android divice and i followed the installation but when i start to use CMD and write 'react-native run-andorid', i got error this msg.
:app:dexDebug
Unknown source file : UNEXPECTED TOP-LEVEL EXCEPTION:
Unknown source file : com.android.dex.DexException: Multiple dex files define Landroid/support/v7/appcompat/R$anim;
Unknown source file : at com.android.dx.merge.DexMerger.readSortableTypes(DexMerger.java:579)
Unknown source file : at com.android.dx.merge.DexMerger.getSortedTypes(DexMerger.java:535)
Unknown source file : at com.android.dx.merge.DexMerger.mergeClassDefs(DexMerger.java:517)
Unknown source file : at com.android.dx.merge.DexMerger.mergeDexes(DexMerger.java:164)
Unknown source file : at com.android.dx.merge.DexMerger.merge(DexMerger.java:188)
Unknown source file : at com.android.dx.command.dexer.Main.mergeLibraryDexBuffers(Main.java:504)
Unknown source file : at com.android.dx.command.dexer.Main.runMonoDex(Main.java:334)
Unknown source file : at com.android.dx.command.dexer.Main.run(Main.java:277)
Unknown source file : at com.android.dx.command.dexer.Main.main(Main.java:245)
Unknown source file : at com.android.dx.command.Main.main(Main.java:106)
:app:dexDebug FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:dexDebug'.
> com.android.ide.common.process.ProcessException:org.gradle.process.internal.ExecException:
Process 'command 'C:\Program Files\Java\jdk1.8.0_101\bin\java.exe'' finished with non-zero exit value 2
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
help me plz!
Most probably the problem is with gradle cache for Android. Try running the below command at the root of your project
cd android && ./gradlew clean
Related
I entered this code on my octave GUI on Mac:
>>cd file:///Users/Sudipta/Downloads/Stanford/warmUpExercise.m
error: file:///Users/Sudipta/Downloads/Stanford/warmUpExercise.m: No such file or directory
I am using macOS Big Sur and Octave version 3.8.0.The file in question exists in my computer and I have checked this code multiple times.
It is not able to locate the file on my MacBook for some reason. Can someone help?
Edit: I have tried a new code as mentioned in the comments, but it also can't find the file
>> cd Users/Sudipta/Downloads/Stanford/warmUpExercise.m
error: Users/Sudipta/Downloads/Stanford/warmUpExercise.m: No such file or directory
I have also tried:
1.>> cd Users/Sudipta/Downloads
error: Users/Sudipta/Downloads No such file or directory
2.>> cd Users/Sudipta/Downloads/Stanford
error: Users/Sudipta/Downloads/Stanford No such file or directory
And I got the same error as above.
The other code gave a different error:
3.> cd /Users/Sudipta/Downloads
warning: load_path: .: Operation not permitted
QKqueueFileSystemWatcherEngine::addPaths: open: Operation not permitted
Warning: QFileSystemWatcher: failed to add paths: /Users/Sudipta/Downloads
I am trying to install couchbase on my macOS. I am using pip3 install couchbase to install it.
And I am getting error as
`note: '__uint128_t' declared here
/Library/Developer/C
ommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types.h:76:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_useconds_t; /* [???] microseconds */
^
note: '__uint128_t' declared here
In file included from src/bucket.c:18:
In file included from src/pycbc.h:45:
In file included from src/python_wrappers.h:20:
In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:71:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_types.h:43:9: error: unknown type name '__uint32_t'; did you mean '__uint128_t'?
typedef __uint32_t __darwin_wctype_t;
^
note: '__uint128_t' declared here
In file included from src/bucket.c:18:
In file included from src/pycbc.h:45:
In file included from src/python_wrappers.h:20:
In file included from /Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/include/python3.8/Python.h:25:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/stdio.h:64:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/_stdio.h:75:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/sys/_types/_va_list.h:31:
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/machine/types.h:37:2: error: architecture not supported
#error architecture not supported
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
/private/tmp/pip-install-46t38raq/couchbase_25d29b67ce814e2badeb9f2deaba5d2c/cbuild_config.py:271: UserWarning: Adding /usr/local to lib search path for OS X
warnings.warn('Adding /usr/local to lib search path for OS X')
error: command 'clang' failed with exit status 1
----------------------------------------
ERROR: Failed building wheel for couchbase Failed to build couchbase
ERROR: Could not build wheels for couchbase which use PEP 517 and cannot be installed directly
I also tried pip3 install --no-use-pep517 couchbase then also I am getting could not build a wheel for couchbase
I have upgraded my pip to the latest. I have python3.8. I also installed pep517.
asiagaming#ubuntu:~/v8/v8$ make
make[1]: Entering directory '/home/asiagaming/v8/v8/out'
TOUCH bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
ACTION Generating inspector protocol sources from protocol json bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
CXX(target) /home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Protocol.cpp:7:
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Protocol.h:8:
In file included from /home/asiagaming/v8/v8/out/ia32.release/obj/gen/src/inspector/protocol/Forward.h:8:
.././src/inspector/string-util.h:8:10: fatal error: 'memory' file not found
#include <memory>
^~~~~~~~
1 error generated.
src/v8_base.target.ia32.release.mk:750: recipe for target '/home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o' failed
make[1]: *** [/home/asiagaming/v8/v8/out/ia32.release/obj.target/v8_base/gen/src/inspector/protocol/Protocol.o] Error 1
rm bdc92efe44eca1954fdff70fd086c7e138d0fbb1.intermediate
make[1]: Leaving directory '/home/asiagaming/v8/v8/out'
Makefile:319: recipe for target 'ia32.release' failed
make: *** [ia32.release] Error 2
I've tried to build V8 engine, but above error msg is printed.
How to solve it ?
Does sudo apt-get install build-essential help?
(Side note: Simply invoking make is probably not what you want. Check out https://github.com/v8/v8/wiki/Building-with-GN.)
I've installed Phalcon and Phalcon devtool in php7.0, when I type 'Phalcon help' I got a warning message:
PHP Warning: Module 'phalcon' already loaded in Unknown on line 0
I've tried to add 'extension = phalcon.so' in the php.ini file, but I get an error message:
PHP Warning: Module 'phalcon' already loaded in Unknown on line 0
PHP Warning: Module 'phalcon' already loaded in Unknown on line 0
PHP Fatal error: Class 'jsonserializable' not found in Unknown on line 0
Segmentation fault (core dumped)
I would be appreciate it, if you help me
Remove not needed extension = phalcon.so. Load phalcon AFTER json.so
If you use Ubuntu 18.04, check in /etc/php/7.0/apache2/conf.d/
I am try to open my site in locally. xampp is installed, but I get the following errors. How can I rectify this:
Warning: require_once(/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php) [function.require-once]: failed to open stream: No such file or directory in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
And:
Fatal error: require_once() [function.require]: Failed opening required '/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/class.inputfilter.php' (include_path='.:/Applications/XAMPP/xamppfiles/lib/php:/Applications/XAMPP/xamppfiles/lib/php/pear') in /Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/global.php on line 104
This Warning is not Failed opening required global.php. This warning says line number 104 of global.php have a statement for requiring a file named class.inputfilter.php But, failed to load it.
This issue can occur in following cases :
--> File does not exists.
--> File exists but do not have READ permission.
Solution :
Go to the path :
/Applications/XAMPP/xamppfiles/htdocs/artgallery/administrator/components/com_virtuemart/classes/phpInputFilter/
and find the file named class.inputfilter.php.
If not found then get it from the fresh package of Virtuemart(Remember to check the version. Both files have to be from same Virtuemart version).
If exists then change its permissions to 644 or 755.