I have followed all the steps from here:http://reactnative.dev/docs/environment-setup
but i am getting this error:
What should i do to fix this?
Make sure that your JAVA_HOME environment points to (C:\jdk1.6.0_26\lib) folder and not (C:\jdk1.6.0_26\jre). Refer to this question
Make sure you have set SDK dir in android/local.properties (if not create that file)
## This file must *NOT* be checked into Version Control Systems,
# as it contains information specific to your local configuration.
#
# Location of the SDK. This is only used by Gradle.
# For customization when using a Version Control System, please read the
# header note.
#Fri Sep 06 20:07:53 BST 2019
sdk.dir=/Users/<youcomputername>/Library/Android/sdk
Related
In my current workplace we are using MariaDB version 10.5.9 for our DB's and we are trying to reinstall this version for testing purposes on a separate container. However, seems anything from 10.5.9 below is failing with the follow error;
root#mdb-10-5:~# curl -LsS https://r.mariadb.com/downloads/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=mariadb-10.5.9
# [info] Checking for script prerequisites.
# [warning] Found existing file at /etc/apt/sources.list.d/mariadb.list. Moving to /etc/apt/sources.list.d/mariadb.list.old_5
# [error] MariaDB Server version 10.5.9 is not working.
# Please verify that the version is correct.
#
# The latest MariaDB Server versions are:
# 10.10.1 10.3.36 10.4.26 10.5.17 10.6.10 10.7.6 10.8.5 10.9.3
#
# More information on MariaDB releases is available at:
# https://mariadb.com/kb/en/release-notes/
When I try the same command with version 10.5.10, it works and downloads successfully.
I am using the following procedure, one of which is the MariaDB KB:
https://mariadb.com/kb/en/mariadb-package-repository-setup-and-usage/
https://www.dbi-services.com/blog/how-to-install-a-specific-version-of-mariadb/
Both guides use the same repo, and it is also the only thing that I have found specific when I search for information to install this particular version or MariaDB.
Can anyone offer any suggestions or have experienced similar problems?
We (MariaDB corporation) recently moved over our repositories to a content delivery network instead of using our own servers only. Unfortunately the new service does not have a full archive of older releases yet, the oldest 10.5 we have on there for example is 10.5.10.
I have filed an internal bug report / feature request about that already, but it is still pending.
Meanwhile you can "fix" this by first running the repo setup script with a supported version like 10.5.10, and then editing the repository file it created, replacing the version number with 10.5.9, and the host name dlm.mariadb.com with download.mariadb.com.
On Debian and Ubuntu the repository file would be /etc/apt/sources.list.d/mariadb.list, and you'd have to run apt-get update afterwards to pick up the repo change before installing packages.
On RHEL, CentOS, Rocky etc. the file is /etc/yum.repos.d/mariadb.repo and no further action is needed before installing actual packages.
I've come across an issue when attempting to load timescaledb using PostgreSQL v10.11... Upon executing the following command:
CREATE EXTENSION IF NOT EXISTS timescaledb CASCADE;
I'm greeted with the following error:
ERROR: could not load library "<postgresfolder>/lib/timescaledb-1.6.0.dll": %1 is not a valid Win32 application.
postgresfolder = The path to my postgres installation location.
I've attempted this with PostgreSQL v11.6 aswell, with the same outcome. I don't believe it to be a dependency issue (Visual Studio C++ Redist. 2015) as I meet all the prerequisites listed # https://docs.timescale.com/latest/getting-started/installation/windows/installation-windows.
Any help would be greatly appreciated!
(EDIT): The installation is being performed on Windows 10, 64bit.
I got this problem due to ssleay32 and libeay32 dlls. Get binaries from https://get.enterprisedb.com/postgresql/postgresql-11.4-1-windows-x64-binaries.zip and copy them from postgresql-11.4-1-windows-x64-binaries/bin into your /bin folder. If they did not exist, still copy and keep them there.
Also, it looks like timescaledb only works with 11.4 version if you wanna stick with 11.
I added
php_redis.dll file in /php/ext folder
and added
extension=redis in php.ini file.
I am using 64bit xampp server on windows 10. This is what I see in the error log:
Warning: PHP Startup: Unable to load dynamic library 'php_redis.dll'
(tried: C:\xampp\php\ext\php_redis.dll (%1 is not a valid Win32
application.), C:\xampp\php\ext\php_php_redis.dll.dll (The specified
module could not be found.)) in Unknown on line 0
Anyone faced similar issues? Do we have a working solution for this?
Okey guys, i have same errors and do some tests))
i have only x86 based solution, i use this for my web devel, worked 100% on Windows 10 x64, so
Download and install Redis 3.2.100 x64 for Windows, (or latest https://github.com/MicrosoftArchive/redis/releases/), with this link:
https://github.com/microsoftarchive/redis/releases/download/win-3.2.100/Redis-x64-3.2.100.msi
Check and save in text file your version of PHP with PHPInfo and additional info: VC14 or VC15, x86 or x64, Thread Safe or Not Thread Safe - you may check with this command: php -i|findstr "Thread" - if enabled you use TS version.
If you not have installed PHP download and unpack (install) PHP v7.3.25 NTS Win32 VC15 x86, with this link:
https://windows.php.net/downloads/releases/php-7.3.25-nts-Win32-VC15-x86.zip
Download Redis v5.1.1 for PHP 7.3 NTS VC15 x86, (or latest https://pecl.php.net/package/redis click on DLL and choose needed version PHP 7.x and check TS or NTS version) or use this link:
https://windows.php.net/downloads/pecl/snaps/redis/5.1.1/php_redis-5.1.1-7.3-nts-vc15-x86.zip
Create dir with small symbols:
C:\php\ext
Unpack php_redis-5.1.1-7.3-nts-vc15-x86.zip archive and copy two files to C:\php\ext directory:
php_redis.dll
php_redis.pdb
Edit your php.ini in PHP dir:
search & edit your "Paths and Directories" section, like that:
;include_path = ".;c:\php\includes"
;http://php.net/include-path
;extension_dir =
doc_root =
user_dir =
also search & edit your "Dynamic Extensions" section, add line:
extension=php_redis.dll
Run web server and test your PHPInfo, you need to see Redis extension section!
Error message :
------------ Deploying frontend ------------
Preparing to deploy:
Created staging directory at: 'C:\Users\JAMESY~1\AppData\Local\Temp\appcfg5730205859174689794.tmp'
Scanning for jsp files.
Compiling jsp files.
java.lang.RuntimeException: Cannot get the System Java Compiler. Please use a JDK, not a JRE.
Debugging information may be found in C:\Users\James Yang\AppData\Local\Temp\appengine-deploy1938777867658475857.log
I have added
-vm
G:\Jdk8\bin\javaw.exe
in eclipse.ini
and My java_home is G:\Jdk8\bin\
Make sure you have the Java Development Kit (JDK) installed in your computer.
Check if you have Java 8 installed, while trying to compile with Java 7, or viceversa. In other words, check if the JDK is set to the wrong version.
Make sure the JDK is FIRST in your Path, by placing %JAVA_HOME%\bin at the beginning of your Path in your System variables.
H!
I'm new to cakePHP I have have a cakePHP application . I got from
https://github.com/OldWest/CakePHP-1.3-MEIO-image-upload-sample-code
I want to install this in my wamp server. PHP version:5.4.16
I am getting 3 errors
1.Warning: include(cake\bootstrap.php): failed to open stream: No such file or directory in D:\wamp\www\cake\webroot\index.php on line 76
2.Warning: include(): Failed opening 'cake\bootstrap.php' for inclusion (include_path='E:\wamp\www_cake\cakephp-cakephp-1.3.2-38-g8581350\cakephp-cakephp-8581350;D:\wamp\www\cake\;.;C:\php\pear') in D:\wamp\www\cake\webroot\index.php on line 76
3.Fatal error: CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your \cake core directory and your \vendors root directory. in D:\wamp\www\cake\webroot\index.php on line 77
How Can i use the same cakePHP folder used for Blog application in tutorials
I mean multiple application with same cakePHP library How?
Don't use version 1.3. it is an old version.
Use the latest. https://github.com/cakephp/cakephp/releases/tag/2.4.6
The old versions will get you in trouble (as a beginner) with new php versions.
Also, the framework had evolved greatly since 1.3.
Not new to either php or programming here, but I too am saddled with a cake 1.3 site that must be yanked along to work with newer code. Telling people to just upgrade is not helpful.
I looked in the 'advanced configuration' section here https://book.cakephp.org/1.3/en/The-Manual/Developing-with-CakePHP/Installation.html
and by examining the current index.php found that my existing installation was expecting the core cake files to be elsewhere entirely on the system. You could then either plunk the core files where expected, or change the configuration in index.php, depending on current practices.