發表文章

目前顯示的是 12月 19, 2018的文章

Battlement

圖片
"Castellated" redirects here. For the hardware item, see castellated nut. "Embattled" redirects here. For heraldic term, see embattled (heraldry). Battlements on the Great Wall of China Drawing of battlements on a tower Decorative battlements in Persepolis Battlements of a tower of Bam Citadel, Iran A battlement in defensive architecture, such as that of city walls or castles, comprises a parapet (i.e., a defensive low wall between chest-height and head-height), in which gaps or indentations, which are often rectangular, occur at intervals to allow for the launch of arrows or other projectiles from within the defences. These gaps are termed "crenels" (also known as carnels , or embrasures ), and the act of adding crenels to a previously unbroken parapet is termed crenellation . Thus, a defensive building might be designed and built with battlements, or a manor house might be fortified by adding battlements, where no parapet previou

React Native : Error: Duplicate resources - Android

圖片
up vote 1 down vote favorite I was trying to create a release apk file from Android but when I create a release apk with PNG image I'm getting Duplicate Resource error. Initially I thought this is happening because I made a mistake in the existing project but when I created a new project with a single Image component itself I'm getting the Duplicate Resource error. Here are the steps I followed Create a app - react-native init demo Create a assets folder in the project root folder. Add a PNG image inside the assets folder. Now implement the Image component with the above PNG image. Now bundle it using the cmd react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/ Then generate release