The last time, first download the SDK, BlackBerry NDK, http://developer.blackberry.com/
After NDK is installed, it is actually an eclipse and Its sdk is replaced.
If you are not familiar with the command, check the command of phonegap first.
Second, directly go to the cmd command to perform
phonegap local build blackberry
The Platform of blackberry 10 is blackberry. I don't know how to input another tablet or old system.
However, bat is missing. No results were found for the scripts that Baidu Google lacks. Start a small search of the sdk directory and find that the scripts are all in the latest sdk version, such
C:\bbndk\host_10_2_0_15\win32\x86\usr\bin
Add the environment variable path to complete the preceding command.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/094222D63-0.jpg "title =" q_6wxc'ak1%6%5hlq9%0%1q.jpg "style =" float: none; "alt =" 1635%25.jpg"/>
Then there is a blackberry folder under the folder platforms.
Next, let's talk about the NDK configuration. The simulator requires the VM to be installed. I use VM9.0. If I am not familiar with operating BlackBerry 10, first go to the system.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942222019-1.jpg "style =" float: none; "title =" ('gbkli}) 0W ~ RKSOIBF65A1.jpg "alt =" 163457200.jpg"/>
Go to Settings
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942221508-2.jpg "style =" float: none; "title =" 0 _~ LE [{~ 3ms9'fmnv@1wspolicy.jpg "alt =" 163500117.jpg"/>
Enable the developer mode and set the password in subdirectory security for connection to the simulator
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942222X5-3.jpg "style =" float: none; "title =" g00008000034dd_0000hrxq1_1ny9b0000k4.jpg "alt =" 163508948.jpg"/>
View the ip address of the VM in the about directory. The configuration will be used later.
Next, enable NDK, configure it, and create a blackberry project.
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942222b5-4.jpg "style =" float: none; "title =" D ~} 0q'771_qe3m6v4nbc01_jl.jpg "alt =" 163473749.jpg"/>
The first mark is the debugging button, the second is the selected project, and the third is the simulator. Select the Third Configuration
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942225495-5.jpg "style =" float: none; "title =" 20.wcuf69d1_pu25wv1f(hsf-maj.jpg "alt =" 161095975.jpg"/>
Enter the account secret and an automatic discovery is suddenly found ~~~~~~ My IQ has declined again.
Then run the project file. 650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942224094-6.jpg "title =" %x%ziol_%9evvosdcgxj%f7.jpg "alt =" 164419160.jpg"/>
There are two other problems: first
650) this. width = 650; "src =" http://www.bkjia.com/uploads/allimg/131228/0942224338-7.jpg "title =" 125X _] 6) {IVF3 )~ QW081KM5.jpg "style =" float: none; "alt =" 163502867.jpg"/>
The phonegap command cannot directly Install files in the simulator,
The second step is to generate a blackberry10 folder and import it to NDK is invalid, but the blackberry10 installation package already exists in its directory). The android platform can. I hope I have the money to buy my BlackBerry phone. It took one afternoon to shut down and go to class.
This article is from the "shidoudou" blog, please be sure to keep this source http://shidoudou.blog.51cto.com/4497390/1297853