Thursday, August 25, 2016

How to solve "method not found: 'android()'" on Android Studio?

There are two common errors when you import a proyect in Android Studio like these two:
  • "Gradle DSL method not found: 'android()'" //appears on Gradle 2.x
  •  "Could not find method android() for arguments" //appers on Gradle 3.x
1. It can be solved modifying two build.gradle files, first gradle file at parent should be look like:
2. And the second gradle file inside app folder should have android declaration:
This error occurs when you have android declaration inside gradle parent file.

Best Regards,

Tuesday, August 23, 2016

How to configurate Remote Queue Manager for IBM MQ?

After having configured IBM MQ(1), we need to following next steps:
  1. Create Queue Manager with Permit a standby instance and Create server-connection channel.
  2. Permit Listen on port number with a adecute number.
  3. After Queue Manager create we need to create Channel with server connection channel
  4. Add MCA user id to Queue Manager Channel, example "mqm"
  5. Remove permisions from channel: 
 
We will have configurate a remote Queue Manager.

Import links:

How to install GRADLE on Microsoft Windows

1. Add variable GRADLE_HOME
set GRADLE_HOME=C:\programs\gradle-3.0
2.Put GRADLE_HOME at PATH

set PATH=%GRADLE_HOME%\bin;

3.Test Gradle with

>gradle -version